From 1cdfeefa300ff3c9bac4afc6876886e0bf554838 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 20 Oct 2016 01:12:23 -0500 Subject: [PATCH] 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. --- resources/lib/librarysync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 8c6623f3..455ccdfe 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -963,7 +963,7 @@ class LibrarySync(threading.Thread): startupComplete = True # Process updates - if window('emby_dbScan') != "true": + if window('emby_dbScan') != "true" and window('emby_shouldStop') != "true": self.incrementalSync() if window('emby_onWake') == "true" and window('emby_online') == "true":