Don't do daily lookup of fanart

This commit is contained in:
tomkat83 2016-09-11 11:47:55 +02:00
parent 5cf77d3292
commit 7c86270ece

View file

@ -1653,7 +1653,6 @@ class LibrarySync(Thread):
fullSyncInterval = self.fullSyncInterval fullSyncInterval = self.fullSyncInterval
lastSync = 0 lastSync = 0
lastTimeSync = 0 lastTimeSync = 0
lastFanartSync = 0
lastProcessing = 0 lastProcessing = 0
oneDay = 60*60*24 oneDay = 60*60*24
@ -1810,12 +1809,6 @@ class LibrarySync(Thread):
window('plex_dbScan', value="true") window('plex_dbScan', value="true")
self.syncPMStime() self.syncPMStime()
window('plex_dbScan', clear=True) window('plex_dbScan', clear=True)
elif (now - lastFanartSync > oneDay and
settings('FanartTV') == 'true'):
lastFanartSync = now
log.info('Starting daily fanart sync')
self.fanartSync()
log.info('Finished init of daily fanart sync')
elif enableBackgroundSync: elif enableBackgroundSync:
# Check back whether we should process something # Check back whether we should process something
# Only do this once every 10 seconds # Only do this once every 10 seconds