diff --git a/plugin.audio.euskarazko-irratiak/addon.xml b/plugin.audio.euskarazko-irratiak/addon.xml index 254160e..64e6ac1 100644 --- a/plugin.audio.euskarazko-irratiak/addon.xml +++ b/plugin.audio.euskarazko-irratiak/addon.xml @@ -1,7 +1,7 @@ - + diff --git a/plugin.audio.euskarazko-irratiak/default.py b/plugin.audio.euskarazko-irratiak/default.py index 505bfb4..04226de 100644 --- a/plugin.audio.euskarazko-irratiak/default.py +++ b/plugin.audio.euskarazko-irratiak/default.py @@ -32,9 +32,7 @@ def list_streams(streams): # iterate over the contents of the dictionary songs to build the list for stream in streams: # create a list item using the stream's name for the label - li = xbmcgui.ListItem(label=stream['name']) - # set the thumbnail image - li.setArt({'thumb': stream['logo']}) + li = xbmcgui.ListItem(label=stream['name'], thumbnailImage=stream['logo']) # set the list item to playable li.setProperty('IsPlayable', 'true') # build the plugin url for Kodi