file-browser: let the user decide on minimal scanner timeout
This commit is contained in:
parent
759261d1d0
commit
81af757b09
@ -44,4 +44,4 @@ See :ref:`config` for general help on configuring Mopidy.
|
||||
|
||||
Number of milliseconds before giving up scanning a file and moving on to
|
||||
the next file. Reducing the value might speed up the directory listing,
|
||||
but can lead to some tracks not being shown. Must be larger than 1000.
|
||||
but can lead to some tracks not being shown.
|
||||
|
||||
@ -24,8 +24,7 @@ class Extension(ext.Extension):
|
||||
schema['media_dir'] = config.List(optional=True)
|
||||
schema['show_dotfiles'] = config.Boolean(optional=True)
|
||||
schema['follow_symlinks'] = config.Boolean(optional=True)
|
||||
schema['metadata_timeout'] = config.Integer(
|
||||
minimum=1000, maximum=1000 * 60 * 60, optional=True)
|
||||
schema['metadata_timeout'] = config.Integer(optional=True)
|
||||
return schema
|
||||
|
||||
def setup(self, registry):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user