View Poll Results: Witch do you think I should use?

Voters
8. You may not vote on this poll
  • Winows Media Player List

    1 12.50%
  • Winamp List

    4 50.00%
  • Make my own List

    1 12.50%
  • Use all of the above

    2 25.00%
Results 1 to 12 of 12

Thread: music list

  1. #1

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    Talking

    i was going to program a music list for my vb media player, and i looked at wmp7(windows media player 7) *.m3u file. it look likes HTML. and the winamp *.m3u looks like they almost wanted to encript it.
    witch one do u think i should use? winamp, wmp7, my own, or all?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    WinAmp isn't encrypted, just ignore the random lines and it'll still open it fine. It's just extra info so it doesn't have to read it from the file each time.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    Talking o

    thats what they ment. i thought they meant something that winamp didnt want other people to know.

  4. #4

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    Talking people

    your looking at this thing, at least VOTE!!!
    COME ON YOU CAN DO IT!!!
    Last edited by nukem996; Feb 2nd, 2001 at 09:39 PM.

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Just put all the filenames into a text file, one per line. Then drag that text file onto Winamp
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    Cool interseting

    thats interseting.

    parksie: y if u make a list in wmp7 dose it have all this info about the mp3, and it looks like HTML?

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Because it's XML.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  8. #8

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    Cool really??

    really?? i didnt know that, to program it do you think i need to know xml?

  9. #9

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    programing winamp m3u

    well since winamp is winning i started to program it. but its made weird. first of all its extetion to the files is what ever the m3u file isnt in. example:
    you want it to play this music file
    C:\my doucuments\music\song.mp3
    you save the music list in:
    C:\my doucments\lists
    the location of the mp3 will be:
    \music\song.mp3
    weird, y all the extra code for that? and if you move the list or the files it might not work. and whats the #EXTINF:*** (title of song) [note: * is a number]
    #EXTINF:*** means? the number means? why put in the title of the song? all of these things are makeing programing this harder.
    Last edited by nukem996; Feb 3rd, 2001 at 09:56 PM.

  10. #10

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    Cool parksie

    parksie: do u know how to open a file with all its lines of text?

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Code:
    ifstream InFile("file.m3u");
    
    if(InFile.fail()) {
        // Do something
        return;
    }
    
    char buf[1024];
    while(InFile.getline(buf, 1024)) {
        // Do something with this line, possibly put it into a string and add it to a vector.
    }
    
    InFile.close();
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  12. #12

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    Cool well,

    im doing this in vb, but its ok u figered out how to do it in vb, thx any way.

    i just want to make sure this is right, to play an mp3 it would be the Device is mpeg and the flags are 0&, 0&, 0& is that right?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width