Symfonium when casting to kodi transcodes atmos to mp3

App version

Production

Issue description

I use upnp remote option to cast songs to kodi running in tv.
It was a great option as all audio types were supported through kodi on my AV receiever.

But recently have seen all my atmos tracks are being transcoded to mp3.

Device type

Phone

Media provider

Navidrome

Steps to reproduce

  1. open symfonium
  2. cast to kodi
  3. play any atmos songs
  4. kodi in tv will show mp3 2.0

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

atmos-cast-kodi-mp3

Seeing the same thing here. Updated Symfonium to 15.0.1 - now seeing tracks being transcoded to mp3.

Also using Navidrome, but casting to Upmpdcli. UI on “Now Playing” screen, in app, shows “OPUS > MP3”.

Querying the URL of the track that MPD has received and I can see rest/getTranscodeStream.view, and the params field shows that it is requesting mp3.

Provide the necessary logs …

Have uploaded a log separately - upmpdcli-cast-opus-to-mp3.

Thanks.

As a workaround for now: Open the settings for this UPnP renderer and disable UPnP: Renderer capabilities, while keeping the bitrate unlimited. Reconnect the renderer afterward; Opus should then be sent directly.

Can confirm that the workaround has worked - thank you.

As an extra note;

I’ve found that Upmpdcli does not advertise opus as a valid media type. The types can be found in the protocolinfo.txt, in the project’s source.

As a fix, I have modified the file with the added line;

http-get:*:audio/opus:*,

Docker-mounting the file, read-only, at the location that upmpdcli expects. Now, reverting the UPnP renderer settings, in Symfonium, to honour renderer capabilities results in opus being sent to MPD - no mp3 transcode.

I’m thinking that it’s always been transcoding to mp3, just that improvements to the Symfonium UI have unearthed it. Wondering if it’s the same for Kodi, not advertising Atmos as a supported type?

I will look to get the protocolinfo.txt changes merged into upstream upmpdcli.

audio/ogg without codecs should support opus, this is a wrong qualification on my side.

And no before there was most of the time 0 transcoding on upnp unless very well known cases. That setting is new in v15.

For Kodi this is different it advertise it support anything but it’s filtered on my side as usually wrong. But I’ll allow it for Kodi as well Kodi properly handle everything.