Make sure incremental sync doesn't start

Do not attempt to start the incremental sync if we are resetting. To
review for a more robust method later.
This commit is contained in:
angelblue05 2016-10-20 01:12:23 -05:00
parent 810673cf79
commit 1cdfeefa30

View file

@ -963,7 +963,7 @@ class LibrarySync(threading.Thread):
startupComplete = True startupComplete = True
# Process updates # Process updates
if window('emby_dbScan') != "true": if window('emby_dbScan') != "true" and window('emby_shouldStop') != "true":
self.incrementalSync() self.incrementalSync()
if window('emby_onWake') == "true" and window('emby_online') == "true": if window('emby_onWake') == "true" and window('emby_online') == "true":