Verify path for every Plex library on install sync

This commit is contained in:
croneter 2017-08-19 15:13:22 +02:00
parent 8267fb4832
commit 4494add298

View file

@ -797,6 +797,8 @@ class LibrarySync(Thread):
# PROCESS MOVIES ##### # PROCESS MOVIES #####
self.updatelist = [] self.updatelist = []
for view in views: for view in views:
if self.installSyncDone is not True:
state.PATH_VERIFIED = False
if self.thread_stopped(): if self.thread_stopped():
return False return False
# Get items per view # Get items per view
@ -890,6 +892,8 @@ class LibrarySync(Thread):
# PROCESS TV Shows ##### # PROCESS TV Shows #####
self.updatelist = [] self.updatelist = []
for view in views: for view in views:
if self.installSyncDone is not True:
state.PATH_VERIFIED = False
if self.thread_stopped(): if self.thread_stopped():
return False return False
# Get items per view # Get items per view
@ -1058,6 +1062,8 @@ class LibrarySync(Thread):
except ValueError: except ValueError:
pass pass
for view in views: for view in views:
if self.installSyncDone is not True:
state.PATH_VERIFIED = False
if self.thread_stopped(): if self.thread_stopped():
return False return False
# Get items per view # Get items per view