2017-07-13, 16:33
Hey im new just made this test app that runs a stream URL
That works so whenever i open the addon it just streams that, what im trying to do is have some options like a menu(gui) and execute a different url for each not sure where to start
PHP Code:
import xbmc
import xbmcgui
# Stream URL here
url = "randomurl.m3u8"
listitem = xbmcgui.ListItem("random")
listitem.setInfo('video', {'Title': 'random'})
# Play the Stream
xbmc.Player().play(url, listitem)
That works so whenever i open the addon it just streams that, what im trying to do is have some options like a menu(gui) and execute a different url for each not sure where to start