Also clear video nodes and playlists on full sync

- Called e.g. when switching Plex user
This commit is contained in:
tomkat83 2016-04-07 09:02:52 +02:00
parent 783fad33f1
commit 9781131cd2

View file

@ -422,6 +422,10 @@ class LibrarySync(Thread):
# Ensure that DBs exist if called for very first time
self.initializeDBs()
# First remove playlists
utils.deletePlaylists()
# Remove video nodes
utils.deleteNodes()
# Set views. Abort if unsuccessful
if not self.maintainViews():
xbmc.executebuiltin('InhibitIdleShutdown(false)')