I'm having a little trouble with the script I'm working on. I have a script that allows for download or streaming of an MP3 file, and works most of the time. I haven't had any problems downloading mp3s using the script, but certain songs will stop playing in the middle of the song while streaming.

I'm not having the trouble while using displayserver to stream the same songs from the empeg...only when using my script to stream the songs from my backup copy. It seems to thing the file is smaller than it really is.

Perhaps it's hitting something in the file that it interprets as some sort of EOF character? What does displayserver do to the content data of the file before it is sent, if anything? Is there a header that can help? What headers do you use when getting the mp3 (via m3u)?

Thanks.
_________________________
- Chris Orig. Empeg Queue position 2