Only update cache if media directories are specified
This commit is contained in:
parent
b1c8c9f5b2
commit
a8d3c3ccc8
@ -1601,7 +1601,7 @@ class FileSwitchManager(object):
|
||||
self.infoUpdated()
|
||||
|
||||
def updateInfo(self):
|
||||
if not self.currentlyUpdating:
|
||||
if not self.currentlyUpdating and self.mediaDirectories:
|
||||
threads.deferToThread(self._updateInfoThread).addCallback(lambda x: self.checkForFileSwitchUpdate())
|
||||
|
||||
def setFilenameWatchlist(self, unfoundFilenames):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user