You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
The playLiveStream function was not working on my installation. (Never coded a plugin for xbmc, and new to python).
I was, though, able to modify the code to pickup the m3u8 stream instead of the rmtp stream.
Here is what the playLiveStream function looks like after my modification
Hello,
The playLiveStream function was not working on my installation. (Never coded a plugin for xbmc, and new to python).
I was, though, able to modify the code to pickup the m3u8 stream instead of the rmtp stream.
Here is what the playLiveStream function looks like after my modification
def playLiveStream():
if language == "de":
url = "http://org-www.arte.tv/papi/tvguide/videos/livestream/player/D/"
elif language == "fr":
url = "http://org-www.arte.tv/papi/tvguide/videos/livestream/player/F/"
content = getUrl(url)
match = re.compile('"M3U8_HQ":.+?"url":"(.+?m3u8)"', re.DOTALL).findall(content)
listitem = xbmcgui.ListItem(path=match[0])
xbmcplugin.setResolvedUrl(pluginhandle, True, listitem)
The text was updated successfully, but these errors were encountered: