node-appletv icon indicating copy to clipboard operation
node-appletv copied to clipboard

No state messages with tvOS14 Beta

Open DerThommy83 opened this issue 5 years ago • 7 comments

Hello,

with tvOS14 there are not state messages received any more. Still working are comamnds, queue, artwork and raw messages. Could you please check if anything has to be adjusted?

Thanks, Thomas

DerThommy83 avatar Sep 07 '20 08:09 DerThommy83

Same issue here.

mschwartz avatar Sep 18 '20 17:09 mschwartz

https://www.youtube.com/watch?v=KS6f1MKpLGM

mschwartz avatar Oct 05 '20 18:10 mschwartz

@evandcoleman any chance of getting this fixed?

mschwartz avatar Oct 27 '20 15:10 mschwartz

It looks like pyatv works with tvOS 14.

node-appletv-x fork has an issue with some information about why it doesn't work: https://github.com/stickpin/node-appletv-x/issues/4

"Based on the debug output I found out that the state command is having issues decoding the result of the "PLAYBACK_QUEUE_REQUEST_MESSAGE".

Message length mismatch Message length mismatch"

I don't know where to begin to debug this, but here is the protobuf directory from pyatv. It might be a trivial fix, to replace the protos from this repo with the ones from pyatv.

https://github.com/postlund/pyatv/tree/master/pyatv/mrp/protobuf

mschwartz avatar Oct 27 '20 16:10 mschwartz

Should be fixed in v2 whenever I get around to finishing that. Hopefully soon

evandcoleman avatar Oct 28 '20 19:10 evandcoleman

Awesome, thanks!

I use this for my own custom. home automation software. I used to be able to show a lot of information about what's playing, etc.

2020-10-28 at 1 03 PM

My home automation software:

https://github.com/RoboDomo/

mschwartz avatar Oct 28 '20 20:10 mschwartz

@evandcoleman hi, wait v2?

twocolors avatar May 14 '21 18:05 twocolors