Option to disable manage scan at startup. fix #1951

This commit is contained in:
Ruud
2013-08-14 12:14:52 +02:00
parent 4b15563ba3
commit cf6f83a44b
2 changed files with 9 additions and 1 deletions
@@ -28,6 +28,14 @@ config = [{
'description': 'Remove movie from db if it can\'t be found after re-scan.',
'default': True,
},
{
'label': 'Scan at startup',
'name': 'startup_scan',
'type': 'bool',
'default': True,
'advanced': True,
'description': 'Do a quick scan on startup. On slow systems better disable this.',
},
],
},
],
+1 -1
View File
@@ -44,7 +44,7 @@ class Manage(Plugin):
}"""},
})
if not Env.get('dev'):
if not Env.get('dev') and self.conf('startup_scan'):
addEvent('app.load', self.updateLibraryQuick)
def getProgress(self, **kwargs):