diff --git a/addon.xml b/addon.xml index d2cf4ae6..f2a009ef 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/LibrarySync.py b/resources/lib/LibrarySync.py index 8b54da5a..66ff97b5 100644 --- a/resources/lib/LibrarySync.py +++ b/resources/lib/LibrarySync.py @@ -41,7 +41,7 @@ class LibrarySync(): startupDone = WINDOW.getProperty("startup") == "done" syncInstallRunDone = addon.getSetting("SyncInstallRunDone") == "true" - performMusicSync = addon.getSetting("disableMusicSync") == "false" + performMusicSync = addon.getSetting("enableMusicSync") == "true" dbSyncIndication = addon.getSetting("dbSyncIndication") == "true" WINDOW.setProperty("SyncDatabaseRunning", "true") @@ -518,7 +518,7 @@ class LibrarySync(): #this will only perform sync for items received by the websocket addon = xbmcaddon.Addon(id='plugin.video.emby') dbSyncIndication = addon.getSetting("dbSyncIndication") == "true" - performMusicSync = addon.getSetting("disableMusicSync") == "false" + performMusicSync = addon.getSetting("enableMusicSync") == "true" WINDOW.setProperty("SyncDatabaseRunning", "true") #show the progress dialog diff --git a/resources/lib/Utils.py b/resources/lib/Utils.py index 2aacc572..a466c237 100644 --- a/resources/lib/Utils.py +++ b/resources/lib/Utils.py @@ -216,7 +216,7 @@ def reset(): connection.commit() cursor.close() - if addonSettings.getSetting("disableMusicSync") == "false": + if addonSettings.getSetting("enableMusicSync") == "true": # delete video db table data print "Doing Music DB Reset" connection = KodiSQL("music") diff --git a/resources/lib/WebSocketClient.py b/resources/lib/WebSocketClient.py index 8e925568..10326bdf 100644 --- a/resources/lib/WebSocketClient.py +++ b/resources/lib/WebSocketClient.py @@ -273,7 +273,7 @@ class WebSocketThread(threading.Thread): #Process music library addon = xbmcaddon.Addon(id='plugin.video.emby') - if addon.getSetting("disableMusicSync") == "false": + if addon.getSetting("enableMusicSync") == "true": connection = utils.KodiSQL("music") cursor = connection.cursor() for item in itemsRemoved: diff --git a/resources/settings.xml b/resources/settings.xml index 7a06489f..eff532dd 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -17,7 +17,7 @@ - +