diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 20d8ff17..b590129f 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -279,7 +279,7 @@ class LibrarySync(threading.Thread): startTime = datetime.now() completed = process[itemtype](embycursor, kodicursor, pDialog) if not completed: - + xbmc.executebuiltin('InhibitIdleShutdown(false)') window('emby_dbScan', clear=True) if pDialog: pDialog.close() @@ -306,7 +306,7 @@ class LibrarySync(threading.Thread): startTime = datetime.now() completed = self.music(embycursor, musiccursor, pDialog) if not completed: - + xbmc.executebuiltin('InhibitIdleShutdown(false)') window('emby_dbScan', clear=True) if pDialog: pDialog.close()