philippe_44 wrote: 
> I've installed Volumio and the issue here seems to be the flac header
> when seeking. 
> 
> When LMS seeks to a position in a flac file, it does not send a header
> and assumes that players know how to decode flac data without header,
> which is a valid assumption as flac is made to be streamable from
> anywhere. 
> 
> Unfortunately, some UPnP device, can't handle that and *want* a header,
> so the bridge re-inserts one on-the-fly with its best guess. Such header
> is supposed to contain the total number of samples *if known*, 0
> otherwise (see https://xiph.org/flac/format.html#stream). Of course, I
> don't know how many samples LMS will send so I set it to 0, which again
> is perfectly legit. But because the crappy implementation are never
> ending, some don't like the this 0 size. 
> 
> In the case of Volumio, the result is that as soon as the bridge closes
> the connection because it has sent everything, then Volumio stops
> playing. IMHO, it's a bug on their side when they receive the "end of
> decode" from the flac decoder (I've implemented flac decoder already so
> I know how it behaves). 
> 
> One solution is to use flac header type 2 which means set the number of
> samples to the maximum possible and that seems to satisfy Volumio.
> Another option is to use the transcode mode ('flc' for example) instead
> of 'thru' mode but then format sent to volumio will always be flac.

Thanks for the work you are putting into this. It is nice to know it
isn't just me having issues with MoOde, I actually burned another SD
card and that was even worse [emoji1787]. 
For Volumio Is using FLAC header type 2 something which is possible to
do?

Sent from my Pixel 3a using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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