Move the Spotify cache to a subdir of the Mopidy cache
This commit is contained in:
parent
f392a7cccb
commit
436fd7815d
@ -12,6 +12,10 @@ v0.7.3 (in development)
|
||||
- Fixed crash when logging :exc:`IOError` exceptions on systems using languages
|
||||
with non-ASCII characters, like French.
|
||||
|
||||
- Move the default location of the Spotify cache from `~/.cache/mopidy` to
|
||||
`~/.cache/mopidy/spotify`. You can change this by setting
|
||||
:attr:`mopidy.settings.SPOTIFY_CACHE_PATH`.
|
||||
|
||||
|
||||
v0.7.2 (2012-05-07)
|
||||
===================
|
||||
|
||||
@ -23,8 +23,9 @@ logger = logging.getLogger('mopidy.backends.spotify.session_manager')
|
||||
|
||||
|
||||
class SpotifySessionManager(BaseThread, PyspotifySessionManager):
|
||||
cache_location = settings.SPOTIFY_CACHE_PATH or CACHE_PATH
|
||||
settings_location = settings.SPOTIFY_CACHE_PATH or CACHE_PATH
|
||||
cache_location = (settings.SPOTIFY_CACHE_PATH
|
||||
or os.path.join(CACHE_PATH, 'spotify'))
|
||||
settings_location = cache_location
|
||||
appkey_file = os.path.join(os.path.dirname(__file__), 'spotify_appkey.key')
|
||||
user_agent = 'Mopidy %s' % get_version()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user