Do a Kodi library update after synching new/changed items

This commit is contained in:
croneter 2018-12-09 16:16:26 +01:00
parent 2baafa77bb
commit 70cf483fe2

View file

@ -323,6 +323,7 @@ class FullSync(common.libsync_mixin):
# Now do the heavy lifting
if self.isCanceled() or not self.addupdate_section(section):
return False
common.update_kodi_library(video=True, music=True)
# SYNC PLAYSTATE of ALL items (otherwise we won't pick up on items that
# were set to unwatched). Also mark all items on the PMS to be able
# to delete the ones still in Kodi