i8beef / node-red-contrib-castv2

MIT License
22 stars 15 forks source link

Queue multiple videos #65

Closed Varguit closed 3 years ago

Varguit commented 3 years ago

Hi all. First of all, thanks @i8beef for this great node, I'm using it every day on my home automations. My question is related to the possibility of sending multiple video id's to my chromecast, I've tried several ways without success.

This is sending 2 video id's as an example, but only the first one is playing, I'd like to queue a list of videos if possible.

msg.payload = {
                app: "YouTube",
                type: "MEDIA",
                videoId: [
                    "EWMLL5bxqJk",
                    "PnMTHquErKk"
                ]
            }

return msg;

Thanks.

i8beef commented 3 years ago

The YouTube controller does not support multiple videos. Im actually surprised that even the first one plays.

Varguit commented 3 years ago

Thanks for your reply, actually you are right, not even the first one plays with the code I've posted.