From 8267fb48326c4c6e883315268462f71024f87409 Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 19 Aug 2017 15:05:56 +0200 Subject: [PATCH] Don't quit library sync if failed repeatedly --- resources/lib/librarysync.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 62062b03..75b8faa2 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -1421,7 +1421,6 @@ class LibrarySync(Thread): startupComplete = False self.views = [] - errorcount = 0 log.info("---===### Starting LibrarySync ###===---") @@ -1514,13 +1513,6 @@ class LibrarySync(Thread): installSyncDone = True else: log.error("Initial start-up full sync unsuccessful") - errorcount += 1 - if errorcount > 2: - log.error("Startup full sync failed. Stopping sync") - # "Startup syncing process failed repeatedly" - # "Please restart" - dialog('ok', heading='{plex}', line1=lang(39404)) - break # Currently no db scan, so we can start a new scan elif state.DB_SCAN is False: