July 31, 2004 4:28 PM
Getting your Winamp m3u playlist to work in XMMS1 is as simple as calling a simple search and replace function a few times. All you have to do is convert the driveletter: to /mnt/directoryname/ and all the backslashes to forward slashes. If the songs are in the directory in which your playlist has been saved in, then the drive letter would be omitted in the m3u file and the line would start with a backslash. That's it. With this in mind, use sed, awk, perl or even GnuEmacs. If you are obsessed with using Emacs for even a problem as trivial as this, read ani-playlist-converter.el.html in the Code Archives section. A few re-search-forward and replace-match calls perform the actual work.

Fourth semester university examinations are coming up in a few days. Busy days ahead.

CategoryLinux


[1] A cross platform Winamp clone commonly used in GNU/Linux.

Copyright © 2004-2011 Anirudh Sasikumar. All rights reserved.
Last Updated: January 21, 2005 4:29 PM