Old 5th July 2001, 18:29   #1
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
I have some pls file issues.
1. I have complied pls files as directed by the book. Cool...
Then I play them for while and then some how they crap out. I open it and then it runs thru the playlist super quick , no audio of course and then just sits there.
2. After all that i can't serve the files out of my server as well.
Funny thing is i can hear other people pls files on other sites fine. Runny win 2k pro and serving wni 2k advanced server. I've also looked at other peoples code also to make sure i got it right,maybe i don't. Looking for Hreeeeeeeeeeeellllllllllppppppppppp. please..?

Da Bronx Basement Monster.
djdiscodave is offline   Reply With Quote
Old 5th July 2001, 18:37   #2
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
note to pls files

Can these files also be served on a ftp server for download???
Da Bronx Basement Monster.
djdiscodave is offline   Reply With Quote
Old 5th July 2001, 22:17   #3
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,894
Dead links!
Check your playlist again. There's an error in your typing somewhere.
Make sure the paths to each single mp3 entry are 100% correct.
Just one single character typo will cause the link to be dead.
Quote:
Originally posted by djdiscodave
Can these files also be served on a ftp server for download?
Which files?
PLS files, or the MP3's listed in the PLS playlists?
Any filetypes can be downloaded via an ftp site, but they can't be streamed . . .
at least, not in Winamp. Winamp only supports http streams.

Naturally, people will be able to download your pls files to their own HD via ftp, but you'll probably need to zip them up or something first?
DJ Egg is online now   Reply With Quote
Old 5th July 2001, 22:59   #4
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
pls files

What is basically happening is that i bill these .pls files with mp3s and some how they crap out after first play. This what my goal is:
1. Have listeners click on a hyper link listen to playlist or in others attach a link to a .pls file so they can listen.

Now after i create a pls file with mp3's. what happens is the file loads up, you c the the list itself and the player runs thru them till it gets to the last.

In other words i need these pls file to stable for a lack of a better word.
djdiscodave is offline   Reply With Quote
Old 6th July 2001, 13:26   #5
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
See first hand

Go to http://www.latinmix.com and click on either link and see what happens. Maybe you'll understand better. My typing is horrible, I know. Can ypu please get back to me.

Da BRonx Basement Monster.
djdiscodave is offline   Reply With Quote
Old 7th July 2001, 00:12   #6
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
shotuclub

Hey I was reading something on shoutclub could this be it.
http://www.shoutclub.com/articles/view.php3?num=15
djdiscodave is offline   Reply With Quote
Old 7th July 2001, 01:06   #7
Lando Calrissian
Junior Member
 
Join Date: Jun 2001
Posts: 24
interesting note

it appears winamp cannot playback .pls playlists created by napster or sonique.

.m3u playlists work fine.

there is definately no dead links in the playlists

any clue why this is?
Lando Calrissian is offline   Reply With Quote
Old 7th July 2001, 01:38   #8
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
reply to lando and any one else

I was reading on shoutclub that maybemy web server is not set up to handle the pls files. This also happened with the m3u files. I will keep testing. I'm hoping this is
the solution but I have no idea how to to change a MIME file type in my web server's configuration or to check it to see if it can handle the pls file. Check one of the previous replies where i posted the link for that article.
djdiscodave is offline   Reply With Quote
Old 7th July 2001, 01:45   #9
Tom
Moderator
 
Join Date: Apr 2000
Posts: 4,491
Dave,
You are going to have to edit the .m3u in Notepad. What you need to do is set the path to the actual location that the .mp3s are. So for instance: http://www.somerandomdomain.com/mp3/...ikescheese.mp3
if they are in the content directory of SHOUTcast I think the path goes:
http://IP:PORT/content/file.mp3 (NOTE: the extension .mp3 not .pls)

For example:
#EXTM3U
#EXTINF:105,Reggae - Track 03
http://www.latinmix.com/music/Reggae...Track%2003.mp3
#EXTINF:87,artist - Track 06
http://www.latinmix.com/music/artist...Track%2006.mp3
#EXTINF:86,Shaggy - Track 07
http://www.latinmix.com/music/Shaggy...Track%2007.mp3
#EXTINF:104,artist - Track 08
http://www.latinmix.com/music/artist...Track%2008.mp3
#EXTINF:96,Track 04
http://www.latinmix.com/music/Track%2004.mp3
#EXTINF:136,Track 05
http://www.latinmix.com/music/Track%2005.mp3

Enjoy,
Tom

Tom is offline   Reply With Quote
Old 7th July 2001, 02:02   #10
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
ok Tom

Let me get this straight. First where do i find the content folder or do i create one. And how come when i see other peoples code they can point it to a pls file??? For better understanding how does the pls file work???
djdiscodave is offline   Reply With Quote
Old 7th July 2001, 02:16   #11
Tom
Moderator
 
Join Date: Apr 2000
Posts: 4,491
Oh yeah you wanted a .pls not a .m3u. The code below will create a .m3u that point to the files on your server. For a .pls the file should be:
[playlist]
File1=http://www.latinmix.com/music/Reggae%20-%20Track%2003.mp3
Title1=Reggae - Track 03.mp3
Length1=105
File2=http://www.latinmix.com/music/artist%20-%20Track%2006.mp3
Title2=artist - Track 06
Length2=87
File3=http://www.latinmix.com/music/Shaggy%20-%20Track%2007.mp3
Title3=Shaggy - Track 07
Length3=86
File4=http://www.latinmix.com/music/artist%20-%20Track%2008.mp3
Title4=artist - Track 08
Length4=104
File5=http://www.latinmix.com/music/Track%2004.mp3
Title5=Track 04
Length5=96
File6=http://www.latinmix.com/music/Track%2005.mp3
Title6=Track 05
Length6=136
NumberOfEntries=6
Version=2

The content folder is only if you are using the on-demand feature of SHOUTcast to host your files (which you aren't at this time). Technically you can point to another .pls, but due to the way the SHOUTcast DNAS handles requests a call from Winamp to the content directory for a .pls will result in an error. If the .pls is hosted on a web server then you should have no problems linking a .pls in a .pls (OFF TOPIC: to be a real ass go to a friends computer and in the winamp.pls file in the winamp directory call the winamp.pls file in the winamp directory)
The .pls file just acts as a file that has the locations of the files you want to play, think of it as an index. It has a little more info than just the paths, such as the name, time, and number of entries, but it is nothing more than a list of files to be played, hence playlist.

Tom

Tom is offline   Reply With Quote
Old 7th July 2001, 02:24   #12
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
ok Tom

Let me get this straight. First where do i find the content folder or do i create one. And how come when i see other peoples code they can point it to a pls file??? For better understanding how does the pls file work???
djdiscodave is offline   Reply With Quote
Old 7th July 2001, 02:30   #13
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
cool Tom

Damn , thats a lot of work but cool. Thanx dude i'll try that. Should i create a play from file i put on the server??
I going to try every thing 2morrow I tired now. Got everything working except this. Once again thanx guy!!!
djdiscodave is offline   Reply With Quote
Old 7th July 2001, 02:40   #14
Tom
Moderator
 
Join Date: Apr 2000
Posts: 4,491
If you can host them off a separate webserver (like now) then go that route. That way you are not cutting into your precious bandwidth like you would if you used the on-demand feature of the SHOUTcast DNAS. The easiest way to make the .pls I found is to link to the files on your computer and save it as a .pls. Then open the .pls in Notepad and edit the path info (http://blahblah.com/). Just copy the path and paste that into the file several times. That way the title and times are already there for you.
Also note that you may need to convert all the " " (spaces) to %20 otherwise you may get sync errors.

Tom

Tom is offline   Reply With Quote
Old 7th July 2001, 02:50   #15
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
Very cool

Tom I just opened up a file I'll be getting rite work
Thank you Dude!!!!! Yeeeeaaaaaaaaah!!!
djdiscodave is offline   Reply With Quote
Old 7th July 2001, 08:39   #16
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
DANGEROUS using Winamp to create PLS Files

OK here is the deal with PLS files.

No Player can seem to create them properly, we have noted this fact at our site

http://www.shoutclub.com/articles/view.php3?num=3

I wrote an entire article on the PLS phenominom and why Winamp can't create the file Especially if you want people to be able to listen to the files with other players like Real.

the key is believe or not, case sensitivity, in Winamp they use upper case letters in some of the vars in the file

(ie NumberOfEntries=2)

and of course a player like Real is going to totally refuse it because it looks for Numberofentries
if it can't find it (exactly as shown) then it errors out because it defaults to 0 so no entries means nothing. Why it's like this I'll never know, but read through that article and it might help you out more.
Jay is offline   Reply With Quote
Old 7th July 2001, 12:03   #17
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
KXRM

Where r the MIME types file. That will hell me alot. Is this a reg entry or what????
djdiscodave is offline   Reply With Quote
Old 7th July 2001, 19:12   #18
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,894
The .htaccess file in the root dir of your website.
More info here:
http://www.zdnet.com/devhead/stories...449694,00.html
DJ Egg is online now   Reply With Quote
Old 7th July 2001, 20:12   #19
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
Your problem is not related to a MIME issue

the file downloads just fine, the problem is that the locations you have set in the file are incorrect. They must point to a file available on a web server, right now they just point to nothing, they reflect only the current directory, but that is different for everyone

you need to put in something like

http://yourhost.com/file.mp3 instead of just file.mp3
Jay is offline   Reply With Quote
Old 7th July 2001, 21:30   #20
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,894
Quote:
Originally posted by DJEgg
Dead links!
Check your playlist again.
Make sure the paths to each single mp3 entry are 100% correct.
DJ Egg is online now   Reply With Quote
Old 8th July 2001, 18:18   #21
djdiscodave
Member
 
Join Date: Jun 2001
Posts: 50
Send a message via AIM to djdiscodave
Thanx Egg before I didn't understand how the file worked. Now I do. I'll let you guys know if it worked once i get the paths rite. Cool
djdiscodave is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump