mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
Fix error
This commit is contained in:
parent
6df36cd6a3
commit
6ff953df55
1 changed files with 8 additions and 8 deletions
|
@ -57,8 +57,14 @@ class LibrarySync(threading.Thread):
|
||||||
className = self.__class__.__name__
|
className = self.__class__.__name__
|
||||||
utils.logMsg("%s %s" % (self.addonName, className), msg, int(lvl))
|
utils.logMsg("%s %s" % (self.addonName, className), msg, int(lvl))
|
||||||
|
|
||||||
def FullLibrarySync(self,manualRun=False):
|
def FullLibrarySync(self,manualRun=False):
|
||||||
|
|
||||||
|
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
||||||
|
startupDone = WINDOW.getProperty("startup") == "done"
|
||||||
|
syncInstallRunDone = addon.getSetting("SyncInstallRunDone") == "true"
|
||||||
|
performMusicSync = addon.getSetting("enableMusicSync") == "true"
|
||||||
|
dbSyncIndication = addon.getSetting("dbSyncIndication") == "true"
|
||||||
|
|
||||||
### BUILD VIDEO NODES LISTING ###
|
### BUILD VIDEO NODES LISTING ###
|
||||||
VideoNodes().buildVideoNodesListing()
|
VideoNodes().buildVideoNodesListing()
|
||||||
### CREATE SOURCES ###
|
### CREATE SOURCES ###
|
||||||
|
@ -66,13 +72,7 @@ class LibrarySync(threading.Thread):
|
||||||
# Only create sources once
|
# Only create sources once
|
||||||
self.logMsg("Sources.xml created.", 0)
|
self.logMsg("Sources.xml created.", 0)
|
||||||
utils.createSources()
|
utils.createSources()
|
||||||
addon.setSetting("Sources", "true")
|
addon.setSetting("Sources", "true")
|
||||||
|
|
||||||
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
|
||||||
startupDone = WINDOW.getProperty("startup") == "done"
|
|
||||||
syncInstallRunDone = addon.getSetting("SyncInstallRunDone") == "true"
|
|
||||||
performMusicSync = addon.getSetting("enableMusicSync") == "true"
|
|
||||||
dbSyncIndication = addon.getSetting("dbSyncIndication") == "true"
|
|
||||||
|
|
||||||
# just do a incremental sync if that is what is required
|
# just do a incremental sync if that is what is required
|
||||||
if(addon.getSetting("useIncSync") == "true" and addon.getSetting("SyncInstallRunDone") == "true") :
|
if(addon.getSetting("useIncSync") == "true" and addon.getSetting("SyncInstallRunDone") == "true") :
|
||||||
|
|
Loading…
Reference in a new issue