I have a 7.2ch Home Theatre AV Receiver | STR-DH790 and I love this Sony product. However, I learned from this forum that production of Sony AV receivers is no longer taking place. Is this news true? I say this because it is still available in some shops in my country.
One workaround might be for the application to remember the previous input and then select it x seconds after issuing the command to 'power on'. I'm guessing the soundbar won't tell you the current input when it is in standby mode, but if it does you could query the current input before powering on instead of storing the last used input.
Using the setPlayContent to play DLNA content is not recommended I have had mixed results with it and lot of frustration...
It is not your media server that needs to have the AVTransportservice that is for the sony receiver or speaker you want to play the music on.
To make it easier for you to get the correct information your media server should hopefully support the service ContentDirectory. Otherwise you have to fill in the info using the provided examples, it is easy to get them wrong and the error messages you get (if you get any) is not that helpful.
Arrgghh!!! The latest firmware update for the STR-DN1080 has removed the DIAL function from the receiver so my detection routine no longer works! The firmware updates the built-in Chromecast Audio device. Doing some UPnP searches, no DIAL device is detected. And the following file is no longer served by the receiver:
I'm having problems specifying a frequency using the presetBroadcastStation v1.0 function. If I specify a frequency to store, it is ignored. Even using the sample JSON on the docs webpage.
Whether I specify the frequency, or if I omit the frequency line altogether, it simply stores the frequency that the STR-DN1080 is currently tuned to instead.
This is suits me better actually. But this might confuse other developers as the specification in the documentation (and expected behaviour) works differently for method on this device. The receiver accepts the frequency integer without an error code - and the integer doesn't even need to be in the correct range for it to be accepted.
This should really be mentioned in the method definition in the docs please.