Thread: The Winamp playlist file type

  1. #1
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    The Winamp playlist file type

    I took a look inside a winamp playlist the other day (with trusty Notepad) and saw that its actually just a text file which points to the files which are inside the playlist. There was, however, something that confused me. As shown below there is some weird (and seemingly random) number before each song which I have no idea about. Also, there are some letters before it.. I searched the Winamp website, but it had no information on it.

    The M3U winamp playlist file:
    Code:
     #EXTM3U
    #EXTINF:42,Unknown - Track 1
    \My Documents\jonessquawks.mp3
    #EXTINF:32,Metalica - Starwars
    \My Documents\My Music\Starwars - Metalica.wav
    #EXTINF:53,Jerry Seinfield - Main Theme
    \My Documents\My Music\Jerry Seinfield - Main Theme.mp3
    #EXTINF:39,C:\My Documents\My Music\Weird Al Yankovic - Star Wars Cantina.mp3
    Anybody have any ideas?

    Thanks
    -Chris

  2. #2
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    I just found that winamp.com has forums so I'm posting there too.

    Help is still welcome though...

  3. #3
    #EXTINF:42,Unknown - Track 1
    \My Documents\jonessquawks.mp3
    42: length of the song in seconds
    Unknown - Track 1: is the title you see in the listbox
    My Documents\jonessquawks.mp3: path and filename

    Hope this will help you a bit

    If I my ask what are you making? I made a mp3 player, and if you are doing the same, what do you use to play the mp3? I use directx, and I read the mp3 tag to get the length in seconds and then I set a timer. But the problem is, the mp3 tag isn't allways correct. There must be an other way to stop the mp3 when It is finished. Or do you use the media player. Or something else, in that case, I realy would like to know how you do it. That is if you are indeed making an mp3 player
    Last edited by maes; 01-25-2002 at 12:03 PM.

  4. #4
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    no, i'm not making an mp3 player becuase I had this really neat idea about a program to make and I don't want to let the secret out...sorry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  2. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 04:44 AM
  3. header file bringing errors?
    By bluehead in forum Windows Programming
    Replies: 4
    Last Post: 08-19-2003, 12:51 PM
  4. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM