Addon to stream an evolving and remote playlist of youtube videos
#1
Hi All,

I'm currently writing a video addon but I'm stuck. I have therefore some questions.

About the addon

The addon has for goal to reproduce a playlist of youtube videos played on a website.
Therefore, for each new video, the addon scrap the website to get the URL of the youtube video currently played on the website.
This played video is changing regularly and the entire playlist can't be known by one scrapping.
The addon use the script.module.urlresovler and then plugin.video.youtube to play the youtube link (exactly like in http://www.desinerd.co.in/python-play-vi...lver-kodi/).

The questions

1) Is it possible to play continuously (without user interaction) the different scraped links?
2) Using the addon URLresolver, my addon do not work anymore when the youtube videos are live streams. Is not it supported by URLresolver?
3) Can a video be played at the opening of the addon or do we need, first, to show a folder view?

Thanks
Reply
#2
2) Ok, it seems that URLresolver works correctly but it is plugin.video.youtube that can't play the livestream :
https://github.com/jdf76/plugin.video.yo...issues/299
Reply
#3
1) ok, I have used a custom xbmc.Player where I have rewrited the function onPlayBackEnded() to launch the next video.

python:
class MyPlayer(xbmc.Player):
       """
       Create the custom player to concatenate the videos
       """
       def __init__ (self):
           xbmc.Player.__init__(self)
   
       def onPlayBackEnded(self):
           xbmc.executebuiltin("XBMC.PlayMedia(plugin://plugin.video.myplugin/?mode=play)")

Reply

Logout Mark Read Team Forum Stats Members Help
Addon to stream an evolving and remote playlist of youtube videos0