From c5b7d5a35edcfca0aeb2073202def51b5c55fcbd Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sun, 17 Jul 2011 02:33:21 +0200 Subject: [PATCH] Note XDG change in changes file --- docs/changes.rst | 12 ++++++++++++ mopidy/core.py | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/changes.rst b/docs/changes.rst index 5d2ab57d..563eac53 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -12,6 +12,18 @@ v0.6.0 (in development) - Pykka 0.12.3 or greater is required. +- All config, data and cache locations are now based on the XDG spec. + + - This means that your settings file will need to be moved from + `~/.mopidy/settings.py` to `~/.config/mopidy/settings.py`. + - Your Spotify cache will now be stored in `~/.cache/spotify` instead of + `~/.mopidy/spotify_cache`, this matches Spotify's own behaviour for their + Linux client. + - Localbackends tag_cache should now be in `~/.local/share/mopidy/tag_cache`, + likewise your playlists will be in `~/.local/share/mopidy/playlists`. + - The local client now tries to lookup where your music is via XDG, it will + fall-back to `~/music` or use whatever setting you set manually. + **Changes** - Replace :attr:`mopidy.backends.base.Backend.uri_handlers` with diff --git a/mopidy/core.py b/mopidy/core.py index 00a6ad77..ea6da28c 100644 --- a/mopidy/core.py +++ b/mopidy/core.py @@ -86,8 +86,8 @@ def check_old_folders(): return logger.warning(u'Old settings folder found at %s, settings.py should be ' - 'moved to %s, any cache data should be deleted.', old_settings_folder, - SETTINGS_FOLDER) + 'moved to %s, any cache data should be deleted. See release notes ' + 'for further instructions.', old_settings_folder, SETTINGS_FOLDER) def setup_settings(interactive): get_or_create_folder(SETTINGS_FOLDER)