From 5cf77d3292fcefc3debac7f7ce1809882cd93721 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 11 Sep 2016 11:46:42 +0200 Subject: [PATCH] Revert "Don't look for fanart twice on fresh system" This reverts commit cb4e084305660f914bb1fd9a781b0810b4da8f04. --- resources/lib/librarysync.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index abec145c..f277162a 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -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