From 81af757b095398fa9f64271cccfa47822766f46d Mon Sep 17 00:00:00 2001 From: tom roth Date: Mon, 6 Jul 2015 15:23:05 +0200 Subject: [PATCH] file-browser: let the user decide on minimal scanner timeout --- docs/ext/files.rst | 2 +- mopidy/files/__init__.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/ext/files.rst b/docs/ext/files.rst index c952ba14..4a8e741e 100644 --- a/docs/ext/files.rst +++ b/docs/ext/files.rst @@ -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. diff --git a/mopidy/files/__init__.py b/mopidy/files/__init__.py index 1e2e961a..90ebf7f8 100644 --- a/mopidy/files/__init__.py +++ b/mopidy/files/__init__.py @@ -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):