MP3 Report Generator is a customizable program to scan a list of (sub)directories, creating a report from an HTML template.
Also calculates various statistics and each song's playing time. Supports ID3 and ID3v2 tags.
All options can be configured through the command line, see mp3report.pl --help for more info. You may also want to modify the hard coded defaults at the top of the program file.
Usage: mp3report.pl [options] [directory...]
--help shows this help screen
--printmode uses a smaller font for printing
--title=TITLE sets the title used in the report
--outfile=OUTFILE file to write report to, '-' for STDOUT
--template=FILE file to use as report template
--stdgenres use standard genres instead of winamp genres
--id3v2 enable id3v2 support (experimental)
directory... dirs to scan (subdirs included)
You should be able to run mp3report.pl directly after decompressing it:
tar xfzv mp3report-1.0.0.tar.gz
If your perl interpreter isn't in /usr/bin/perl, you'll need to change the first line of mp3report.pl