2024-06-02, 08:26 AM
Hello,
Thanks for your reply.
Unfortunately, although the speaker name can be changed via the Sonos app, it's JF's 'Cast to Devce / Play On' name [e.g. '192.168.1.30 - Sonos Play:1 - RINCON_#MAC' @Kitchen - DLNA'] I wish to change / shorten.
Unable to do so via Sonos (https://en.community.sonos.com/controlle...ed-6789689), I was hoping to change how Jellyfin displays it.
NB I see that Emby's DLNA plugin behaves similarly; their Sonos-specifc one does display speakers as required (e.g. '@Kitchen').
I've tried several avenues but have just about given up!
Aside: not related to this issue but to avoid 'No matching device profile found...' output in JF's log file for Sonos (S1) speakers, I created a ...jellyfin\plugins\configurations\dlna\user\sonos.xml:
Starting with jellyfin\plugins\DLNA_2.0.0.0\profiles\default.xml, added / amended the following:
Notes:
Identification info from http://<SonosSpeakerIP>:1400/xml/device_description.xml, with speaker-specific info rmoeved; 'HttpHeaderInfo' info from 'wget --server-response -qO /dev/null http://<SonosSpeakerIP>:1400/status'
DirectPlayProfile containers taken from: https://docs.sonos.com/docs/supported-au...le-formats
Cheers,
Pete
Thanks for your reply.
Unfortunately, although the speaker name can be changed via the Sonos app, it's JF's 'Cast to Devce / Play On' name [e.g. '192.168.1.30 - Sonos Play:1 - RINCON_#MAC' @Kitchen - DLNA'] I wish to change / shorten.
Unable to do so via Sonos (https://en.community.sonos.com/controlle...ed-6789689), I was hoping to change how Jellyfin displays it.
NB I see that Emby's DLNA plugin behaves similarly; their Sonos-specifc one does display speakers as required (e.g. '@Kitchen').
I've tried several avenues but have just about given up!
Aside: not related to this issue but to avoid 'No matching device profile found...' output in JF's log file for Sonos (S1) speakers, I created a ...jellyfin\plugins\configurations\dlna\user\sonos.xml:
Starting with jellyfin\plugins\DLNA_2.0.0.0\profiles\default.xml, added / amended the following:
Code:
<Name>Sonos</Name>
<Identification>
<deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>
<manufacturer>Sonos, Inc.</manufacturer>
<manufacturerURL>http://www.sonos.com</manufacturerURL>
<modelNumber>S1</modelNumber>
<modelDescription>Sonos Play:1</modelDescription>
<modelName>Sonos Play:1</modelName>
<modelURL>http://www.sonos.com/products/zoneplayers/S1</modelURL>
<Headers>
<HttpHeaderInfo name="User-Agent" value="Linux UPnP/1.0 Sonos/" match="Substring" />
</Headers>
</Identification>
<SupportedMediaTypes>Audio</SupportedMediaTypes>
<DirectPlayProfile container="mp3,wav,m4a,mp4,aac,flac,ogg,asf,wma" videoCodec="" type="Audio" />
Notes:
Identification info from http://<SonosSpeakerIP>:1400/xml/device_description.xml, with speaker-specific info rmoeved; 'HttpHeaderInfo' info from 'wget --server-response -qO /dev/null http://<SonosSpeakerIP>:1400/status'
DirectPlayProfile containers taken from: https://docs.sonos.com/docs/supported-au...le-formats
Cheers,
Pete