2015-04-04, 22:01
I know about
But how can I run this when I just create list of elements, user can play them by selecting and I don't use
?
Now I have something like that and it works:
How can I best add subtitles paths to this playlist and load them on play?
Code:
xbmc.Player().play(pl)
xbmc.Player().setSubtitles()
But how can I run this when I just create list of elements, user can play them by selecting and I don't use
Code:
xbmc.Player().play(pl)
Now I have something like that and it works:
Code:
results = _parsed_data_
for r in results:
li = xbmcgui.ListItem(r.get('title'), iconImage=r.get('icon'))
xbmcplugin.addDirectoryItem(handle=addon_handle, url=r['files'].get('downloadURL'), listitem=li)
xbmcplugin.endOfDirectory(addon_handle)
How can I best add subtitles paths to this playlist and load them on play?