Your 2nd Add-On: Online Videos!
#19
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

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)
Reply


Messages In This Thread
Your 2nd Add-On: Online Videos! - by zag - 2015-11-20, 15:28
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-11-20, 15:33
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-11-30, 14:42
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-12-01, 12:58
RE: Your 2nd Add-On: Online Videos! - by zag - 2016-01-18, 14:37
RE: Your 2nd Add-On: Online Videos! - by pa79 - 2020-09-09, 19:59
Logout Mark Read Team Forum Stats Members Help
Your 2nd Add-On: Online Videos!2