This is a little project to help me with making a DVD of songs. I organized the list in iTunes, but then needed both to publish a HTML list for review and change the file names from iTunes %artist%/%album%/%track% - %title%
format. Since it isn't much to do, I put it all in a makefile. Using my songs DVD, chansons passables, as an example, the available targets are:
make "chansons passables"
• is equivalent to make "chansons passables.songs.txt"
make "chansons passables.songs.txt"
• will list one song per line in %artist% - %title%
formatmake "chansons passables.table.html"
• will generate a HTML table of the songsmake "chansons passables-dir"
• will generate a directory of hard links to the files in the playlist with the names changed to %artist% - %title%.%ext%
formatmake "chansons passables-compressed"
• is like -dir
, but will use LAME and id3lib to convert all fixed rate files above a certain bitrate to VBR instead of hard linking them. (As a word of warning, id3lib uses v2.3 tags and iTunes uses v2.2, and cover art doesn't display in iTunes for the compressed files.)The HTML table is minimalistic, for example, chansons_passables.table.html.