Also clear video nodes and playlists on full sync
- Called e.g. when switching Plex user
This commit is contained in:
parent
783fad33f1
commit
9781131cd2
1 changed files with 4 additions and 0 deletions
|
@ -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)')
|
||||
|
|
Loading…
Reference in a new issue