iTunes XML to M3U Converter
I couldn't get any of the various scripts floating out there to work.
- Export iTunes Playlist to M3U
- Using Export Playlist to M3U with an Archos Jukebox
- things: iTunes2m3u update
- XML.com: Hacking iTunes
Specifically, I couldn't get any of them to convert my music collection to M3U for import into amaroK. Either the script didn't work, ran only on a Mac, didn't convert 8-bit filenames correctly, couldn't handle UTF-8 encoded track names, or all of the above. So I wrote my own Python script to do it.
My music resides on an NTFS partition that is obviously not mounted as C:/My Documents/My Music/iTunes/iTunes Music on my Linux partition. The script takes an option for automatically replacing the path to the Music Folder with an alternate path, e.g., /mnt/Music/ or something similar. It takes an iTunes XML file as input and writes the playlists to .m3u files.
Comments
Awesome python script. We use iTunes on our desktop but are running TwonkyVision on our ReadyNAS to serve the DSM520 and without soemthing that translated from XML to M3U had no easy way to export the playlists. Thanks for your work on this.
Posted by: Aaron | December 8, 2006 10:30 AM