slartibartfast wrote: > Disillusioned with Moode I tried Volumio. It seems to be working well > apart from one thing. Even with "Seek on resume" enabled I have issues > seeking within a track. The strange thing is it works perfectly with dsf > tracks but a FLAC track seems to skip to the right place but playback > goes silent after a while and playback will not continue until I skip to > the next track. I have attached a log.
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. LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3 ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 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