slartibartfast wrote: 
> The odd thing is it plays gapless perfectly using  dnla apps like
> mconnect.
> 
> Sent from my Pixel 3a using Tapatalk

Yes, but to give a bit more precision, here is my take why:

UPnP standard says that players can hold 2 URI: the current one and the
next one so that gapless can be performed. It does not say anything (nor
should it) about timing of setting these. Of course, if you set the
nextURI a few milliseconds before the current track ends, you won't have
gapless, but anything "reasonable" should work. In the case of UPnP
bridge, I have to wait for the last byte of current URI to be sent to
the UPnP player before informing LMS that we have fully done our
"decoding" process and then LMS sends me the next track. I'm chaining
that to the UPnP player, to it receives the nextURI once it has accepted
the last byte of the current one and that happens in your case, about
15s before the end of the current track. This is *plenty* of time to
grab the nextURI and do gapless. 

That's where the Moode seems to fail and I suspect their implementation
assumes that nextURI should be send as soon as possible after or
together with currentURI (to start with) and then the next one shall be
sent right after the "old nextURI" has started to play, and so on. This
is what I call a poor implementation: you're making a strong behavioral
hypothesis on the standard, something that suits you but is not written
anywhere but you should never assume anything just because the few
players you have observed seems to work this way. In the case of
mconnect, the URI are sent with a certain timing (I would probably have
done the same thing if I was writing mconnect).



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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to