Skip to content

Commit

Permalink
KODI 16 baino zaharragoetarako aldaketak
Browse files Browse the repository at this point in the history
  • Loading branch information
aldatsa committed Dec 4, 2016
1 parent 2f96361 commit e5cca04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugin.audio.euskarazko-irratiak/addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.audio.euskarazko-irratiak" name="Euskarazko irratiak zuzenean" version="1.0.3" provider-name="Asier Iturralde (iametza.eus)">
<requires>
<import addon="xbmc.python" version="2.24.0" />
<import addon="xbmc.python" version="2.1.0" />
<import addon="script.module.requests" version="2.9.1"/>
</requires>
<extension point="xbmc.python.pluginsource" library="default.py">
Expand Down
4 changes: 1 addition & 3 deletions plugin.audio.euskarazko-irratiak/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5cca04

Please sign in to comment.