Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Reading m3u Files

This topic is 6080 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I''m trying to read m3u files (unsuccessfully), can anyone help? I have tried to look for info on google for the source or just helpful info but I have come up empty. I anyone has info or something, it would really help! Thanks

Share this post

Link to post
Share on other sites
You mean WinAmp index files? They're just text, open one up to get a feel for how it's laid out and go from there. The rest is parsing in your favorite language.

Here's a snippet:

#EXTINF:206,Rage Against the Machine - Guerilla Radio

#EXTM3U - indicates that this is an m3u file
#EXTINF - likely indicates an entry
followed by time in seconds and song title
the next line looks to be the relative path to the file
(relative to the path of the m3u file)

here's a general syntax

<relative path to file>

Edited by - lessbread on February 24, 2002 5:17:44 AM

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!