diff --git a/icon.png b/icon.png index e10aa896..cdb0b1c3 100644 Binary files a/icon.png and b/icon.png differ diff --git a/resources/lib/LibrarySync.py b/resources/lib/LibrarySync.py index 66ff97b5..8b54da5a 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("enableMusicSync") == "true" + performMusicSync = addon.getSetting("disableMusicSync") == "false" 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("enableMusicSync") == "true" + performMusicSync = addon.getSetting("disableMusicSync") == "false" WINDOW.setProperty("SyncDatabaseRunning", "true") #show the progress dialog diff --git a/resources/lib/Utils.py b/resources/lib/Utils.py index a466c237..2aacc572 100644 --- a/resources/lib/Utils.py +++ b/resources/lib/Utils.py @@ -216,7 +216,7 @@ def reset(): connection.commit() cursor.close() - if addonSettings.getSetting("enableMusicSync") == "true": + if addonSettings.getSetting("disableMusicSync") == "false": # 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 10326bdf..8e925568 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("enableMusicSync") == "true": + if addon.getSetting("disableMusicSync") == "false": connection = utils.KodiSQL("music") cursor = connection.cursor() for item in itemsRemoved: diff --git a/resources/settings.xml b/resources/settings.xml index acf99ee3..7a06489f 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -17,7 +17,7 @@ - +