file-browser: let the user decide on minimal scanner timeout

This commit is contained in:
tom roth 2015-07-06 15:23:05 +02:00
parent 759261d1d0
commit 81af757b09
2 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -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):