2023-08-01, 10:15
I'm developing an addon that is able to play videos from the internet, but it doesn't want to play them.
In my code I have the following:
In my code I have the following:
I am also sure this function is getting called, so what am I doing wrong? Looking at other video add-ons doesn't help much either...python:def PlayVideo(url, handle=int(sys.argv[1])):
play_item = xbmcgui.ListItem(path="https://ia800908.us.archive.org/30/items/TheStranger_0/The_Stranger_512kb.mp4") # This will later be replaced with the url variable once I get this to work.
xbmcplugin.setResolvedUrl(handle, True, listitem=play_item)