Provided by: mopidy_0.17.0-3_all bug

NAME

       mopidy-convert-config - migrate config files from mopidy pre-0.14

SYNOPSIS

       mopidy-convert-config

DESCRIPTION

       Mopidy  is a music server which can play music both from multiple sources, like your local
       hard drive, radio streams, and from Spotify and SoundCloud. Searches combines results from
       all  music  sources,  and  you  can  mix  tracks from all sources in your play queue. Your
       playlists from Spotify or SoundCloud are also available for use.

       The mopidy-convert-config command is used to convert settings.py configuration files  used
       by mopidy < 0.14 to the mopidy.conf config file used by mopidy >= 0.14.

OPTIONS

       This  program  does  not  take  any  options.  It  looks for the pre-0.14 settings file at
       $XDG_CONFIG_DIR/mopidy/settings.py, and if it exists it converts it and  ouputs  a  Mopidy
       0.14  compatible  ini-format  configuration.  If  you  don't already have a config file at
       $XDG_CONFIG_DIR/mopidy/mopidy.conf`, you're asked if you want to save the converted config
       to that file.

EXAMPLE

       Given the following contents in ~/.config/mopidy/settings.py:

          LOCAL_MUSIC_PATH = u'~/music'
          MPD_SERVER_HOSTNAME = u'::'
          SPOTIFY_PASSWORD = u'secret'
          SPOTIFY_USERNAME = u'alice'

       Running  mopidy-convert-config will convert the config and create a new mopidy.conf config
       file:

          $ mopidy-convert-config
          Checking /home/alice/.config/mopidy/settings.py
          Converted config:

          [spotify]
          username = alice
          password = ********

          [mpd]
          hostname = ::

          [local]
          media_dir = ~/music

          Write new config to /home/alice/.config/mopidy/mopidy.conf? [yN] y
          Done.

       Contents of ~/.config/mopidy/mopidy.conf after the conversion:

          [spotify]
          username = alice
          password = secret

          [mpd]
          hostname = ::

          [local]
          media_dir = ~/music

SEE ALSO

       mopidy(1)

REPORTING BUGS

       Report bugs to Mopidy's issue tracker at <https://github.com/mopidy/mopidy/issues>

COPYRIGHT

       2009-2013, Stein Magnus Jodal and contributors