From e91d2ff2a7925b4d4f286aefe2cc43541f72d8cf Mon Sep 17 00:00:00 2001 From: im85288 Date: Sun, 3 May 2015 14:45:13 +0100 Subject: [PATCH] resolve artwork issue for widgets --- resources/lib/PlaybackUtils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/PlaybackUtils.py b/resources/lib/PlaybackUtils.py index 000b5c91..103c4f4f 100644 --- a/resources/lib/PlaybackUtils.py +++ b/resources/lib/PlaybackUtils.py @@ -115,8 +115,9 @@ class PlaybackUtils(): if setup == "service": xbmc.Player().play(playurl,listItem) elif setup == "default": - listItem = xbmcgui.ListItem(path=playurl) xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem) + #artwork only works from widgets with both resolvedurl and player command + 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':