i8beef / node-red-contrib-castv2

MIT License
22 stars 14 forks source link

Netflix status is not shown #52

Closed JGoor closed 3 years ago

JGoor commented 3 years ago

This is about a 'Cinema-mode' flow that dims lights when playing content and lights up the lights when paused.

When watching Youtube, ths following statuses are sent: 'PLAYING' and 'PAUSED', depending on the status. However when I watch Netflix, the node does not show anything.

This is the reproduction flow (change Chromecast IP address): [{"id":"255e1234.c4c896","type":"debug","z":"f6f2187d.f17ca8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":870,"y":420,"wires":[]}]

Is there a solution for this?

i8beef commented 3 years ago

I can try a Netflix cast tonight and see what I get. Its up to the individual cast receiver app authors to "do the right thing" here... most do because the generic cast controls on phones / browsers are dependent on these commands / status updates to work right too.

Just a thought, you are CASTING netflix and not running it on an Android TV device correct? The latter has nothing to do with the cast protocol, and won't interact with it at all.

JGoor commented 3 years ago

I am using ChromecastV2 if that's what you mean. Nothing exotic here. Mind that casting Youtube is working as expected; the provided example flow does its job. Only Netflix (and ' Videoland', as I understand) do not provide the proper triggers.

i8beef commented 3 years ago

It actually looks like the appId for Netflix wasn't correct anymore when I started a session locally. I changed it to be correct, and hopefully this will work for you. Try 3.2.12.

i8beef commented 3 years ago

Correction, try 3.2.13. There was some additional missing Netflix code.... working locally now.

JGoor commented 3 years ago

That did the trick! Youtube now gives 'PAUSED' and Netflix 'BUFFERING' when paused. Thanks for you quick reply @i8beef !