fixed small error in the checksum code

This commit is contained in:
Marcel van der Veldt 2015-05-08 00:06:49 +02:00
parent 8839b3b323
commit b081f87e29
2 changed files with 91 additions and 85 deletions

View file

@ -504,6 +504,12 @@ class LibrarySync():
WriteKodiMusicDB().deleteItemFromKodiLibrary(kodiId, connection, cursor) WriteKodiMusicDB().deleteItemFromKodiLibrary(kodiId, connection, cursor)
def IncrementalSync(self, itemList): def IncrementalSync(self, itemList):
startupDone = WINDOW.getProperty("startup") == "done"
#only perform incremental scan when full scan is completed
if startupDone:
#this will only perform sync for items received by the websocket #this will only perform sync for items received by the websocket
addon = xbmcaddon.Addon(id='plugin.video.emby') addon = xbmcaddon.Addon(id='plugin.video.emby')
dbSyncIndication = addon.getSetting("dbSyncIndication") == "true" dbSyncIndication = addon.getSetting("dbSyncIndication") == "true"