The goal of this project is to create a list of all my audio CDs in Linux,
without having to spend countless hours typing.
- Install grip or your favorite cddb
program that caches cddb lookups to a file.
- Insert all of your cds, let grip do a cddb lookup. You should now have
a bunch of files in your ~/.cddb dir.
- cd ~/.cddb
- cddb2pdv.pl | sort -f -t '|' -k2,2 -k3,3 > cd_list
- put cdList.cgi and your new cd_list file in your cgi-bin dir
- goto http://www.yourUrl.com/cgi-bin/cdList.cgi
- Ta-da! you now have a cool list of all your cds online
- If you only want a static list of CDs instead of a dynamic cgi, just run
'perl cdList.cgi > cds.html' in the directory with cdList.cgi
and cd_list. Then open cds.html and delete the first line.
- Things are sorted in alphabetical order. This means Jennifer Knapp, Jimmy
Smith, and Joshua Redman are next to each other rather than the more
appropriate Sample, Joe;
Savage Garden; and Smith, Jimmy. Unfortunately this is more of a
data entry problem since a
script can not tell if James Horner belongs in J or H verses
Jars of Clay in J
or C. If you really want it in a more correct order, you can edit all of your
files to change them from First Last to Last, First
philip at shuman dot org