philippe_44 wrote: 
> I don't think there is much to improve, unfortunately. The problem is
> likely that the device does not behave correctly wrt to HTTP
> content-length and/or use of chunked-encoding, this is a faulty stack
> that only works if there is a *real* content-length indicated (again,
> this NOT compliant with HTTP standards). So the "large number" is a
> trick where the bridge tells the device to expect a very large file and
> closes the connection when everything has been received from LMS (Roon
> in your case). Some device really don't like to be lied about the real
> file size, hence the problem. It does not happen with a real LMS as the
> workaround is to force the bridge to transcode to PCM and get the
> duration from LMS, so that the content-length sent is real by
> calculation. Roon does not provide a full emulation of LMS and the
> duration is missing, so the "fake" size is the only option that
> sometimes fail. I think Bel Canto has to fix their software.
> 
> All you can try to do is to use "pcm" mode and force the encoding
> parameters you like, see if it works better by being always the same
> format. When things fail, what is the format of the last and new tracks?

Thanks Philippe for your quick answer. I did try PCM but it does not
change the issue. 
I haven't noticed if there is a difference of format between last and
new tracks. I am only using Qobuz streaming within that context so it's
only FLAC only (16 bit or 24 bits).
One thing that I've noticed which is very interesting :
Tonight I have launched something like 8 albums in the queue (with a
tail -f on squeeze2upnp.log) and when I came back after few hours, I
did't have any exception.
So right now,  I am just trying to launch a new album and it just failed
!
So coming to your question on format, last track and new track were both
FLAC 16 bits / 44kHz



[23:13:09.367384] read_line:589 fd: 11 read error: 104 Connection reset
by peer
[23:13:09.367464] http_parse:513 cannot read method
 

So it looks like it fails only when you try to launch a new album only
after a certain time of inactivity. 

Thanks for your help.

Jeff


------------------------------------------------------------------------
jigsaw_rh's Profile: http://forums.slimdevices.com/member.php?userid=72248
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to