diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index ee753cee..51e5c48c 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -364,6 +364,7 @@ Failed to authenticate. Did you login to plex.tv? [COLOR yellow]Log into plex.tv[/COLOR] Automatically log into plex.tv on startup + Enable constant background sync (restart Kodi!) diff --git a/resources/language/German/strings.xml b/resources/language/German/strings.xml index 4c44a3af..d42cb99a 100644 --- a/resources/language/German/strings.xml +++ b/resources/language/German/strings.xml @@ -295,6 +295,7 @@ Plex Media Server Authentifizierung fehlgeschlagen. Haben Sie sich bei plex.tv eingeloggt? [COLOR yellow]Bei plex.tv einloggen[/COLOR] Automatisch beim Starten bei plex.tv einloggen + Laufende Synchronisierung im Hintergrund aktivieren (Neustart!) Plex Home Benutzer wechseln diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index e895f42d..2382f26c 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -225,6 +225,9 @@ class LibrarySync(Thread): utils.settings('dbSyncIndicator') == 'true' else False self.enableMusic = True if utils.settings('enableMusic') == "true" \ else False + self.enableBackgroundSync = True if utils.settings( + 'enableBackgroundSync') == "true" \ + else False Thread.__init__(self) @@ -1253,7 +1256,7 @@ class LibrarySync(Thread): time=3000, sound=True) window('emby_dbScan', clear=True) - else: + elif self.enableBackgroundSync: # Run full lib scan approx every 30min if count >= 1800: count = 0 diff --git a/resources/settings.xml b/resources/settings.xml index c12a66d3..517ec5f9 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -51,6 +51,7 @@ +