plugin.video.youtube icon indicating copy to clipboard operation
plugin.video.youtube copied to clipboard

Start live stream by Channel name

Open tsr opened this issue 4 years ago • 0 comments

What Problem Does This Solve?

Currently to watch live streams you have to do an URI like: plugin://plugin.video.youtube/play/?video_id=CURRENT_VIDEO_ID_OF_LIVESTREAM

The main problem with this is though, if you have saved those in your bookmarks/playlists etc. the URI might be outdated, since the livestream had been disconnected from YT at some point and got a new ID (which happens very often with 24/7 streams, like TV stations, some even are artificially restarting them every 24 hours).


Suggest a Solution (optional)

So to avoid this, it would be fine to have an option over URI to start the livestream without knowing the current Video-ID, like this URI:

plugin://plugin.video.youtube/play/?live=CHANNELNAME

I think as a help to get the current Video-ID there is a way on YT to get it by calling the URL: https://youtube.com/CHANNELNAME/live this URL will then redirect you to the current live stream, i even saw one Kodi plugin which exactly did it like this, sadly forgot which.

It might happen that one channel has multiple live streams, but this rare, and maybe then open a popup window where the user can choose between those multiple streams. I currently don't know an example stream right now though, this happens mostly on special events.


Thank you very much in advance!

tsr avatar Mar 15 '21 07:03 tsr