mas94uk / upnpTube

Cast from YouTube app to DLNA/UPNP renderers
GNU General Public License v3.0
26 stars 8 forks source link

[Feature] Add none Autoplay Handling #4

Open dgalli1 opened 1 year ago

dgalli1 commented 1 year ago

I figured out how to make youtube-music work with yt-cast-receiver.

But there are some issues. Youtube Music doesn't support atp (automaticly play the next song once one finished)

We would have to notified when the upnp renderer stopped playing so that we can send the next song to it by calling https://github.com/patrickkfkan/yt-cast-receiver/blob/f228b5e3c06bef233fcca00bbaaf01003852d4ed/lib/player.js#L75

I believe this is not necessary for default youtube implementation, but I didn't test it yet.

If this is only necessary for yotube-music, we would have to sniff the client from the initial bind request.