scanner: Reorder config values
This commit is contained in:
parent
022bcd089f
commit
e2bec79220
@ -18,10 +18,10 @@ class Extension(ext.Extension):
|
|||||||
|
|
||||||
def get_config_schema(self):
|
def get_config_schema(self):
|
||||||
schema = super(Extension, self).get_config_schema()
|
schema = super(Extension, self).get_config_schema()
|
||||||
schema['scan_timeout'] = config.Integer(minimum=0)
|
|
||||||
schema['media_dir'] = config.Path()
|
schema['media_dir'] = config.Path()
|
||||||
schema['playlists_dir'] = config.Path()
|
schema['playlists_dir'] = config.Path()
|
||||||
schema['tag_cache_file'] = config.Path()
|
schema['tag_cache_file'] = config.Path()
|
||||||
|
schema['scan_timeout'] = config.Integer(minimum=0)
|
||||||
return schema
|
return schema
|
||||||
|
|
||||||
def validate_environment(self):
|
def validate_environment(self):
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[local]
|
[local]
|
||||||
enabled = true
|
enabled = true
|
||||||
scan_timeout = 1000
|
|
||||||
media_dir = $XDG_MUSIC_DIR
|
media_dir = $XDG_MUSIC_DIR
|
||||||
playlists_dir = $XDG_DATA_DIR/mopidy/local/playlists
|
playlists_dir = $XDG_DATA_DIR/mopidy/local/playlists
|
||||||
tag_cache_file = $XDG_DATA_DIR/mopidy/local/tag_cache
|
tag_cache_file = $XDG_DATA_DIR/mopidy/local/tag_cache
|
||||||
|
scan_timeout = 1000
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user