expectingtofly wrote: 
> Somebody on the plugin thread just reported that it has been working on
> and off.  So I wonder if they have a problem with content provision

That would explain b/c the request range last byte is 

Code:
--------------------
    
  $track->audio_offset + $track->audio_size - 1 if $track->audio_size;
  
--------------------

On purpose, it is not the content_length in the server response b/c a
file might have all sort of trailing crap. Now, if there is an issue on
the server and they have a wrong mp4 header, the track's audio_size
might be incorrect and I'll shoot beyong the content_length. I can
harden that a bit and take the smallest of contentLength (if any) and
$track->audio_offset + $track->audio_size



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=115070

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

Reply via email to