local: Really deprecate local/data_dir

This commit is contained in:
Stein Magnus Jodal 2015-09-01 23:31:41 +02:00
parent 585a9aac0a
commit 8c2585771c
3 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,12 @@ v1.2.0 (UNRELEASED)
Feature release.
Local
-----
- Made :confval:`local/data_dir` really deprecated. This change breaks older
versions of Mopidy-Local-SQLite and Mopidy-Local-Images.
Cleanups
--------

View File

@ -23,7 +23,7 @@ class Extension(ext.Extension):
schema = super(Extension, self).get_config_schema()
schema['library'] = config.String()
schema['media_dir'] = config.Path()
schema['data_dir'] = config.Path(optional=True)
schema['data_dir'] = config.Deprecated()
schema['playlists_dir'] = config.Deprecated()
schema['tag_cache_file'] = config.Deprecated()
schema['scan_timeout'] = config.Integer(

View File

@ -2,7 +2,6 @@
enabled = true
library = json
media_dir = $XDG_MUSIC_DIR
data_dir = $XDG_DATA_DIR/mopidy/local
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false