Revert "Don't look for fanart twice on fresh system"

This reverts commit cb4e084305.
This commit is contained in:
tomkat83 2016-09-11 11:46:42 +02:00
parent cb4e084305
commit 5cf77d3292

View file

@ -985,6 +985,17 @@ class LibrarySync(Thread):
except:
pass
log.info("Sync threads finished")
if (settings('FanartTV') == 'true' and
itemType in ('Movies', 'TVShows')):
# Save to queue for later processing
typus = {'Movies': 'movie', 'TVShows': 'tvshow'}[itemType]
for item in self.updatelist:
self.fanartqueue.put({
'itemId': item['itemId'],
'class': itemType,
'mediaType': typus,
'refresh': False
})
self.updatelist = []
@LogTime