Upnp : unable to start playing title when casting to a Yamaha amp

Issue description:

Hi when i select my Yamaha amp as an upnp renderer i’m unable to start playing a song. upnp to my Sony TV is working and another software is working well with my Yamaha AMP

Logs:

Upload description: ibis69

Additional information:

 Not provided 

Reproduction steps:

Opening etiher plex or navidrome library > selecting the yamaha UPNP as casting devices > start playing song > nothing happens, song is not readed

Media provider:

Plex or Navidrome

Screenshots:

     

Some devices may have issues with gapless, disable the option in settings then try again.

Since the devices accept the play command a possible reason is that they do not recognize the https certs from Plex and you need to try by adding the plex server without plex.tv and via it’s LAN ip to confirm.

Hi, have tested both (internal IP:Port of plex server) and toggle both upnp options in APP without any luck.
Same issue with my subsonic/navidrome library btw, song is stopped after 2 seconds in all case without earing anything

And if you cast from a song present on the phone via Symfonium?

Just tested local library > upnp is working well on the yamaha amp

Well so it’s a problem in the webserver of Plex and / or navidrome or the certs or proxy.
But not much I can do for now you’ll need to investigate with those servers logs.

In the future I’ll add an option to proxy the data via the phone but not optimal as more battery.

Ok, I will try to investigate in my network and servers/docker stack to find the issue.

Any luck with this?

I’m having the same issue with another Yamaha amplifier model. Switching flags in the local device playback flag doesn’t seem to make any difference. One random time it worked by changing the force http for local devices under playback advanced options, but I wasn’t getting the full functionality (ie the fast forward didn’t worked), it played a couple of tracks and since then it stopped working again. I’ve also tried to not enforce HTTPS in my proxy (nginx proxy manager) again with no luck. I want to also try to have it directly connected without a proxy, but I doubt this will make any difference.

Of course, using bluetooth playback works in my case but I’d like to have UPnP working tbh.

Other devices (e.g., XBox) for UPnP playback work very well btw.

So after some digging turns out my Yamaha amp (R-N800A) doesn’t support domain names when using UPnP playback. I know, wtf…

After some indications I changed the Symfonium provider to use the IP of the server (instead of the domain name I was using) and using HTTP port instead of HTTPS (not sure if 443 would also work though). After making this change I was able to play audio using the Symfonium app and my amp as a receiver (no other tweaks were needed). One thing to note here though is that seeking with MP3 files was working fine but not with FLAC. I suspect this is also an erroneus behaviour from Yamaha DAC though.

In order to verify this with another software I also checked with Gerbera. Gerbera allows to set the URL that will be used when sending messages to clients. By default it uses the IP of the server and it works pretty good with my amp. But as soon as I changed this to a domain name (that would resolve to the IP, of course) the playback stopped working. As soon as I switched back to the IP the playback was working again.

Thought to post this here in case anyone else has the same issue and comes by this post.