From cab783f916df311d47744d289e51a043f5491a4a Mon Sep 17 00:00:00 2001 From: faush01 Date: Mon, 29 Sep 2014 23:09:28 +1000 Subject: [PATCH] remove more stuff --- resources/lib/ArtworkLoader.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/resources/lib/ArtworkLoader.py b/resources/lib/ArtworkLoader.py index 7920654..1f8aa6b 100644 --- a/resources/lib/ArtworkLoader.py +++ b/resources/lib/ArtworkLoader.py @@ -462,15 +462,7 @@ class ArtworkRotationThread(threading.Thread): self.loadItemBackgroundLinks(id) listOfBackgrounds = self.item_art_links.get(id) - - if listOfBackgrounds != None: - - if listOfBackgrounds[0]["action"] != None and listOfBackgrounds[0]["action"] != "": - action = listOfBackgrounds[0]["action"] - WINDOW.setProperty("MB3.Action", action ) - else: - WINDOW.clearProperty("MB3.Action") - + if(listOfBackgrounds != None and len(listOfBackgrounds) > 0): self.logMsg("setItemBackgroundLink Image " + str(self.current_item_art + 1) + " of " + str(len(listOfBackgrounds)), 1) try: @@ -493,7 +485,6 @@ class ArtworkRotationThread(threading.Thread): else: self.logMsg("setItemBackgroundLink Resetting MB3.Background.Item.FanArt", 1) WINDOW.clearProperty("MB3.Background.Item.FanArt") - WINDOW.clearProperty("MB3.Action") def loadItemBackgroundLinks(self, id):