Hi )p(,

I discovered that your progress bar issue is a symptom of a bigger
problem...

In general Squeezebox Server needs to know a track's duration before it
can show a progress bar; and it needs to know the track's size before it
can support seeking.

In prior versions of Squeezebox Server (v7.6.x and earlier), if an
external stream server provided an Http Content-Length header value,
plus either an "icy-br" or an "x-audicast-bitrate" header value, then
Squeezebox Server could calculate the duration (content length divided
by bitrate), and it would also turn on support for the seek function.

Unfortunately in Squeezebox Server v7.7 (aka LMS) the developers broke
these mechanisms...

1) The developers changed the way Squeezebox Server handles "icy-br"
and "x-audicast-bitrate" header values: In the past these always meant
*kilo* bits per second, but now SBS "intelligently" interprets low
values as before as kilo bits per second, but it interprets values
above 1000 as bits per second. => This breaks Whitebear's older code.
But admittedly it is easily fixed by having Whitebear check the SBS/LMS
version number to conditionally determine what value it shall provide in
its "icy-br" or "x-audicast-bitrate" headers. Yuckk!

2) The developers changed the way Squeezebox Server determines if a
stream is seekable. Previously a stream was deemed seekable if
Squeezebox Server had values for two out three of the variables length,
duration, bitrate. However now, from v7.7 onwards, they use a different
mechanism to determine if a stream is seekable. => This means that
remote streams served by Whitebear, (or indeed remote Http streams
served by other servers) are no longer seekable. Unfortunately I could
not (yet) find a work around for this.

IMHO breaking working code in such a way, is not very friendly towards
the external developer community...


-- 
AndrewFG

Regards,
AndrewFG

Try out Whitebear. The middleware that joins the two worlds of:
1. UPnP/DLNA media clients and media players, and,
2. Squeezebox Server and Squeeze Players
Download it for free here: http://www.whitebear.ch/mediaserver
------------------------------------------------------------------------
AndrewFG's Profile: http://forums.slimdevices.com/member.php?userid=15838
View this thread: http://forums.slimdevices.com/showthread.php?t=90842

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to