philippe_44 wrote:
> It's a long post so I won't quote t but here are a few informations wrt
> what the bridge do and Roon
>
> - In short, the bridge does transcoding only if configured to using the
> <mode> parameter. Otherwise, it's a passtrough except for PCM where
> limited changes (sample size & headers) and flac where headers can be
> updated on the fly. But there is *no* decoding of audio in "thru" mode.
> - When a player discovers a server (and Roon emulates one), in its HELO
> message, it tells a bit what it can do, including a codecs list and a
> maximum sample rate. That informs the server when it should do
> transcoding on his side. Information like maximum sampe size is not
> provided.
> - In "thru" mode, the codecs set in <codecs> are what it is reported to
> LMS as supported codec, pending that the UPnP side of the player claims
> to support them. When doing transcoding, <codecs> are what's reported to
> LMS pending successful loading of the codec libraries (-static versions
> have them all). When doing transcoding, the bridge also can do
> resampling
> - Roon does not emulate some part of a LMS server and especially does
> not respond to the bridge query for metadata and that explains why you
> don't see anything. There is an alternative to get metadata that is
> supported by Roon, but this is not the one I've chosen to use and it's
> an important work to do the change.
>
> Hope this helps
Thanks philippe_44, yes that helps.
That reminds me, in the debug logs, it appears the bridge is not
offering wav as an option to the upstream LMS server.
I see this with both LMS 8 as upstream and with Roon as upstream LMS
server. I am using 1.40.9 in both cases (with LMS 8 and with Roon), I
have regenerated the config xml which now includes wav in the common
sections codecs list, and my UPnP player is reporting it supports wav.
I tried overriding the codecs in the player's config section by adding
+wav, and I also tried adding audio/wav to forced mimetypes, and yet I
don't see wav offered to the upstream LMS server.
codecs line in config
Code:
--------------------
<codecs>aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3</codecs>
--------------------
The log entry where the bridge is reporting what the UPnP player
reports:
Code:
--------------------
[10:35:27.966743] GetProtocolInfo:370 [0xc3f500]: ProtocolInfo
http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LP
CM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=96000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=96000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=88200;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=88200;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L24;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L24;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L24;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L24;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L24;rate=96000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L24;rate=96000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L24;rate=88200;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L24;rate=88200;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/wav:*,http-get:*:audio/x-mpegurl:*,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:application/
ogg:*,http-get:*:audio/mp4:*,http-get:*:audio/x-flac:*,http-wavetunes:*:audio/x-ms-wma:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-m4a:*,http-get:*:audio/dsd:*,http-get:*:audio/x-dsd:*,http-get:*:audio/x-dsf:*,http-get:*:audio/x-dff:*,http-get:*:application/x-mpegurl:*
--------------------
Log entry of what the bridge offered to the upstream server:
Code:
--------------------
[10:35:27.968431] sendHELO:135 [0xbb9f40] cap:
CanHTTPS=1,Model=squeezelite,ModelName=UPnPBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=192000,aac,ogg,flc,alc,aif,pcm,mp3
--------------------
>From what I understand of how this works, and the support for wav since
1.40.x I think the bridge should be offering wav to the upstream LMS.
Is that correct, would you expect the bridge to offer wav in this case,
and if so what is preventing it in this case?
------------------------------------------------------------------------
duncsimpson's Profile: http://forums.slimdevices.com/member.php?userid=70703
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins