2016-01-18, 14:37
Someone just posted this in another thread, but here is a very very simple way to do the same thing.
https://github.com/myjamtv/kodi
https://github.com/myjamtv/kodi
Code:
import xbmc
import xbmcgui
# Stream URL here
url = "http://108.61.159.243:1935/XStreamEngine-243/smil:MyJamTV.smil/playlist.m3u8"
# Fake List Item for Stream Name
listitem = xbmcgui.ListItem("My Jam TV")
listitem.setInfo('video', {'Title': 'My Jam TV', 'Genre': 'Music Video'})
# Play the Stream
xbmc.Player().play(url, listitem)