extm3u.pl

extm3u.pl generates an extended .m3u playlist from a given directory. The generated playlist can be used with XMMS, Winamp, and other MP3 players. The playlist is printed to stdout. Extended .m3u files contain additional information, such as the length of the song and data from the ID3 tag. This script requires the MP3::Info Perl-module.

For the curious - it looks like this:

#EXTINF:187,Bob Marley & The Wailers - Keep On Moving
./Bob_Marley_and_The_Wailers/Trilogy_CD3/Keep_On_Moving.mp3

The first number is the length of the song in seconds, then comes the artistname and songname from the ID3-tag

Download:

Changes:

  • 30.05.2004 – Added OGG Vorbis Support (thanks to David Klotz)
 
 

Freshmeat

 

This is the personal web site of Andreas Gohr - human being, blogger and web geek from Berlin, Germany.

This page was last updated at 2005/11/25 12:13.
Imprint/Impressum

Tagged at del.icio.us:
No tags, yet. Why don't you bookmark it?

View blog reactions

Elsewhere:


Recent readers: