Sync Music playstates on full sync

This commit is contained in:
tomkat83 2016-04-13 16:51:53 +02:00
parent 722dce78d2
commit f34900ae6e

View file

@ -1203,6 +1203,12 @@ class LibrarySync(Thread):
self.GetAndProcessXMLs(itemType) self.GetAndProcessXMLs(itemType)
self.logMsg("GetAndProcessXMLs for music %s completed" % kind, 1) self.logMsg("GetAndProcessXMLs for music %s completed" % kind, 1)
# Update viewstate for EVERY item
for view in views:
if self.threadStopped():
return False
self.PlexUpdateWatched(view['id'], itemType)
# reset stuff # reset stuff
self.allKodiElementsId = {} self.allKodiElementsId = {}
self.allPlexElementsId = {} self.allPlexElementsId = {}