From 0481ea8abf44c463c2eea8b79f5d26f6dc2007d2 Mon Sep 17 00:00:00 2001 From: shaun Date: Sat, 28 Mar 2015 12:56:29 +1100 Subject: [PATCH] add option to do second hacky artwork add on playback --- resources/lib/PlaybackUtils.py | 4 +++- resources/settings.xml | 27 +++++++++++++-------------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/resources/lib/PlaybackUtils.py b/resources/lib/PlaybackUtils.py index fb8e2ed8..9171efe2 100644 --- a/resources/lib/PlaybackUtils.py +++ b/resources/lib/PlaybackUtils.py @@ -136,7 +136,9 @@ class PlaybackUtils(): xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem) else: xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem) - xbmc.Player().play(playurl,listItem) + if(addon.getSetting("addExtraPlaybackArt") == "true"): + utils.logMsg("PLAY", "Doing second xbmc.Player().play to add extra art") + xbmc.Player().play(playurl,listItem) def setArt(self, list,name,path): if name=='thumb' or name=='fanart_image' or name=='small_poster' or name=='tiny_poster' or name == "medium_landscape" or name=='medium_poster' or name=='small_fanartimage' or name=='medium_fanartimage' or name=='fanart_noindicators': diff --git a/resources/settings.xml b/resources/settings.xml index 0f111057..5124d2e8 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -11,32 +11,31 @@ - + - + + + + - - - - - - - - - + + - - + + + +