diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index a75bcff6..7cf84a1e 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -1203,6 +1203,12 @@ class LibrarySync(Thread): self.GetAndProcessXMLs(itemType) 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 self.allKodiElementsId = {} self.allPlexElementsId = {}