A couple more notes about my problem that I noticed...
- WinAmp always seems to know exactly know how long each song is supposed to be, but will cut out in the middle of a song to move on to the next track.
- The songs that cut out are all songs over 5:04, as that's the point that the songs will cut out. My script works great for pop radio, but this is a big problem for a progressive rock/metal fan such as myself.
Whether songs are are being sent via a download request or being called by WinAmp from a m3u playlist, the same headers are always sent
header (sprintf("Content-Length: %s",filesize($sendfile)));
header ("Content-Type: application/octet-stream");
header (sprintf("Content-Disposition: attachment; filename=%s",$filename));
So...any ideas what might be causing the stream to only allow for 5:04? As I've said...when I select download instead of playing m3u stream, the entire file downloads fine.
Thanks.