2015-08-20, 19:16
I am scraping a site where most of the videos are m3u8 and I have got that working by creating a list item with the url set to m3u8.
Now some links are youtube. How do I play them from my addon? I tried
url = 'plugin://plugin.video.youtube/play/?video_id=%s' % video_id
xbmc.executebuiltin("xbmc.PlayMedia("+url+")")
It plays the video, but if I stop the video, it just restarts.
Now some links are youtube. How do I play them from my addon? I tried
url = 'plugin://plugin.video.youtube/play/?video_id=%s' % video_id
xbmc.executebuiltin("xbmc.PlayMedia("+url+")")
It plays the video, but if I stop the video, it just restarts.