Hi. I'm writing some cgi to process an input (passed via URL encoding on the
end of the URL) and return to the browser the selected mp3, streamed.

I've got some code that generates a m3u file, with the URL to the right mp3,
writes that m3u to the disk on the server and redirects the browser to the
m3u. This should then connect back to the server and stream the mp3.

I'm running ActivePerl 5.22, IIS4. The perl code seems to be OK, but the
problem comes when the browser recieves the mp3 file. It asks to open or
save the file. I've got a MIME type for mp3 configured as audio/mpeg (and
I've tried audio/x-mpeg). The MIME type for the m3u is audio/x-mpegurl.

Any ideas? Am I in the wrong list? Could someone give me a pointer to a more
suitable list or resource for this if so.

Thanks.

John Edwards
IT Support
Runecraft Leeds

Phone: 0113 2206317
Fax: 0113 2206301
Mobile: 07961 356186



--------------------------Confidentiality--------------------------.
This E-mail is confidential.  It should not be read, copied, disclosed or
used by any person other than the intended recipient.  Unauthorised use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful.  If you have received this E-mail in error please contact the
sender immediately and delete the E-mail from your system.


Reply via email to