#587·mopidy

Commands for getting/setting config values

Author: jodalCreated Nov 20, 2013Updated Sep 23, 2026
LabelsA-config

After the introduction of subcommands in Mopidy 0.17 it would be nice to allow getting/setting config values through Mopidy's command line interface.

Use cases with example syntax follows:

# List active config for debugging (already implemented)
$ mopidy config
(... ini formatted config ...)
$

# Get a single config value from a script
$ mopidy config get local/media_dir
/home/jodal/Music
$

# Set a single config value, easily explained in docs
$ mopidy config set spotify/bitrate 320
$

# Set a config value backed by the system keyring for added security
$ mopidy config set --keyring spotify/password
Enter value? s3cret
$