Only do maintainViews once

This commit is contained in:
tomkat83 2017-01-20 15:32:19 +01:00
parent 2fc5546dc4
commit 45ccc3ff3f

View file

@ -1803,11 +1803,6 @@ class LibrarySync(Thread):
log.info('Refreshing video nodes and playlists now') log.info('Refreshing video nodes and playlists now')
deletePlaylists() deletePlaylists()
deleteNodes() deleteNodes()
# Kick off refresh
if self.maintainViews() is True:
log.info("Refresh playlists/nodes completed")
else:
log.error("Refresh playlists/nodes failed")
log.info("Initial start-up full sync starting") log.info("Initial start-up full sync starting")
librarySync = fullSync() librarySync = fullSync()
window('plex_dbScan', clear=True) window('plex_dbScan', clear=True)