mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-15 04:36:12 +00:00
Music default, but don't change prior setting.
Version bump
This commit is contained in:
parent
77c91379b2
commit
c3e2e031b7
5 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue