Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MP3 Playlist format (*.pls) ??

MP3 Playlist format (*.pls) ??

Scheduled Pinned Locked Moved C / C++ / MFC
c++jsonquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Phil Benson
    wrote on last edited by
    #1

    Has anybody any info how the mp3 playlist format is written, i.e. how the Length=xxx is calculated etc. Has any body maybe a Class to read/write to andfrom such a file? (win32 API/ATL/WTL if poss.) Thanks in advance

    Who the F*** is general failure and why is he reading my hard drive?

    F 1 Reply Last reply
    0
    • P Phil Benson

      Has anybody any info how the mp3 playlist format is written, i.e. how the Length=xxx is calculated etc. Has any body maybe a Class to read/write to andfrom such a file? (win32 API/ATL/WTL if poss.) Thanks in advance

      F Offline
      F Offline
      Fred D
      wrote on last edited by
      #2

      is it this thing you're looking for ? #EXTM3U #EXTINF:270, ... LENGTH=270 // it means that this song is 270 s long. Fred ;)

      P 1 Reply Last reply
      0
      • F Fred D

        is it this thing you're looking for ? #EXTM3U #EXTINF:270, ... LENGTH=270 // it means that this song is 270 s long. Fred ;)

        P Offline
        P Offline
        Phil Benson
        wrote on last edited by
        #3

        No, that format is for the *.m3u playlist format, If you have info for this that would be great as well

        Who the F*** is general failure and why is he reading my hard drive?

        F 1 Reply Last reply
        0
        • P Phil Benson

          No, that format is for the *.m3u playlist format, If you have info for this that would be great as well

          F Offline
          F Offline
          Fred D
          wrote on last edited by
          #4

          ok, so here another file, a .pls this time ;) [playlist] // head of the file File1=(U2) Pride.Mp3 // mp3 file Title1=(U2) Pride // how it will be displayed Length1=227 // 227 stands for 227seconds (3min47) ... NumberOfEntries=23 // total nb of files in the list Version=2 // ? the coding is pretty straightforward. Fred

          P 1 Reply Last reply
          0
          • F Fred D

            ok, so here another file, a .pls this time ;) [playlist] // head of the file File1=(U2) Pride.Mp3 // mp3 file Title1=(U2) Pride // how it will be displayed Length1=227 // 227 stands for 227seconds (3min47) ... NumberOfEntries=23 // total nb of files in the list Version=2 // ? the coding is pretty straightforward. Fred

            P Offline
            P Offline
            Phil Benson
            wrote on last edited by
            #5

            Thanks Fred, got it up and running now..

            Who the F*** is general failure and why is he reading my hard drive?

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups