Closed GermanBluefox closed 6 years ago
With Player state you still mean the detection of isPaused?
in AVR Protocol on page 8 at the bottom you will find the desired commands. The behavior for the most commands is that you get some kind of acknowledge, but the media controls are declared as command only, which means that you won't get a response as far as I know (otherwise I would have implemented this).
You can check by yourself, set the Adapter to Debug, press the button for pause, and look for an incoming message which confirms it. I tried it just now, but cant play music on it right now, because I only have access via VPN. But I'm like 99% sure that you wont get an acknowledge.
When you are using HEOS, there exists a completly different protocol, which maybe enables this. But this shouldn't be a part of this adapter, because HEOS is not only AVR releated.
Yes it is about isPlaying/isPaused. Thank you. Will check it. I don't know If I have a HEOS.. :)
I don'have heos. May be it is possible via NSAx/Ex commands to read the display and guess...
The results of NSE are contained in the states display.displayContentX. Maybe it is possible to make a suggestion, because when you are playing music with every polling the progress time should change in the related displayContent state.
But its very fuzzy and newer AVR's which support HEOS unfortunately don't receive any information via NSE. So I don't think it should be a function of the adapter to guess the isPaused state.
Whats your opinion on this?
Ok... I think I should give up and just accept it is not a player.... Thank you :)
пт, 27 июл. 2018 г. в 21:29, Max Hauser notifications@github.com:
The results of NSE are contained in the states display.displayContentX. Maybe it is possible to make a suggestion, because when you are playing music with every polling the progress time should change in the related displayContent state.
But its very fuzzy and newer AVR's which support HEOS unfortunately don't receive any information via NSE. So I don't think it should be a function of the adapter to guess the isPaused state.
Whats your opinion on this?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/foxriver76/ioBroker.denon/issues/18#issuecomment-408517103, or mute the thread https://github.com/notifications/unsubscribe-auth/AEXqgORKHNZZhU4Kk4xJ9fqNP1KX0v2lks5uK2oPgaJpZM4Vi-tT .
This wasn't a thoughtful comment of mine. :man_facepalming:
The only thing what I miss now to show such a widget: is playerState. Where can read about it?