Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Winamp Technical Support (http://forums.winamp.com/forumdisplay.php?f=11)
-   -   Problems with m3us on website .. (http://forums.winamp.com/showthread.php?t=52827)

wafwot 17th June 2001 23:45

I'm trying to put up some mp3s on my web site and am having a problem that I'm not too sure how to fix.

I have the mp3 at http://www.simplyimperfect.com/songs/untitled.mp3, and I have that same exact address in a text file saved in the same directory as an m3u.

When I try to go to the site, or have a link to it, it treats it as a text file and the browser just shows the text that's in the file, the address above.

I thought maybe it was a problem with my server, but I opened WinAmp, went to Play Location, put in the address of the m3u file, and it worked fine.

Any thoughts?

And yes, I tried adding a carriage return after the address of the mp3 in the m3u file. Still no luck.

Thanks for any help,

Anthony

DJ Egg 18th June 2001 02:24

Yes, the same thing happened when I tried it.
In the IE5 address bar, I typed in the url to your .../songs/ dir, the browser displays a page with 2 links to m3u url's, one of them being the one above. Clicking this link causes the browser to open it in text format, as you said.

If you right click the link and select "save target as", you get prompted to save it as a html file, not an m3u . . . hmmm . . . weird!

Either your server isn't configured properly to treat m3u links with the MIME: audio/mpegurl (seems like it's treating them as: text/html), or something weird is happening when you ftp upload the m3u file ???????

What form of upload do you use?
If it's an ftp client, in the options, maybe you need to add m3u to the ASCII filetype list, so that they don't get treat as binary files instead ???????

Also, what did you use to create the m3u in?
Notepad, some html editor, or Winamp?

Ideally, Notepad should suffice.
Maybe you need to add a header as the top line?

#EXTM3U

Anyway, what I did was to copy your above url into Winamp's Open Location box,
then, I used the "List button -> Save List" to create the following m3u.

#EXTM3U
#EXTINF:156,untitled.mp3
http://www.simplyimperfect.com/songs/untitled.mp3

Opening this m3u on my HDD works fine. Winamp opens & streams the mp3 ok.

So . . . let me know how ya get on. :confused:

btw, nice homepage (index2)

wafwot 18th June 2001 05:44

Adding the header didn't work, either. Very strange.

I checked my ftp client, and I did have to add M3U to be uploaded as an ASCII file, rather than a binary file, but it's still doing the same thing.

I guess my only option is to contact my host -- maybe they can fix it. It shouldn't be a problem, right? Since they don't have to add any server software just to stream the mp3s, correct?

And thanks for the compliment -- that little menu took a good 20 hours to make and get working. Never thought a little picture would be so difficult ..

Thanks again for the info. I'll play around with it a little more before "giving up" and contact good ol' tech support.

Anthony

DJ Egg 18th June 2001 19:31

Yeah, there's definitely something wrong with the host/server side.
I've noticed you've "played around" a little, but the browser's still treating the link as text/html, not audio/mpegurl, which suggests that the server isn't configured properly to handle this Content Type (MIME).
Most strange!
Looks like you're gonna have to contact them.
Good luck!


All times are GMT. The time now is 02:58.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.