Sync Music playstates on full sync
This commit is contained in:
parent
722dce78d2
commit
f34900ae6e
1 changed files with 6 additions and 0 deletions
|
@ -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 = {}
|
||||||
|
|
Loading…
Reference in a new issue