install 3.16 KB
Files in this package
---------------------
   getcd.sh (The main script that does most of the work)
   rton.c            (A VERY small c-prog, that converts \r (carriage return) 
                      to \n (line feed). It is needed to fetch the percent 
                      complete messages from cdda2wav)
   flac2mp3.xsl      (xml stylesheet to convert cdinfo.xml in shell commands
                      that will create .flac from .mp3 files)
   flac2wav.xsl      (xml stylesheet to convert cdinfo.xml in shell commands
                      that will create .flac from .wav files)
   mp32wav.xsl       (xml stylesheet to convert cdinfo.xml in shell commands
                      that will create .wav from .mp3 files)
   cdinfo2xinf.xsl   (xml stylesheet to convert cdinfo.xml in shell commands
                      that create the .xinf Files used by xcdroast)
   CDDB_get-2.23p1.patch (a patch for cddb.pl that makes it possible to 
                          select one of multiple cddb-entrys at calltime)
   README            (Overview and Information)
   INSTALL           (This file, howto make something useful from it)
   USAGE             (How to use the script)


Requirments
-----------
first you need some software to run this script.
   CDDB_get-2.23 (http://armin.emx.at/cddb/)
   lame (http://lame.sourceforge.net/)
   bladeenc (http://bladeenc.mp3.no/)
   flac (http://flac.sourceforge.net/)
   vorbis-tools (http://www.vorbis.com/download_unix_1.0.1.psp)
   libxml2 (http://xmlsoft.org/)

I assume you have a working sed and awk, else you need to install them too.

Install lame, bladeenc, flac, vorbis-tools and libxml2 as discribed within
these packages. 

unpack CDDB_get-2.23.tar.gz and patch it with CDDB_get-2.23p1.patch.
For this copy both files in a directory dir then do the following:

me@house:~> cd dir
me@house:~/dir> tar xfvz CDDB_get-2.23.tar.gz
me@house:~/dir/CDDB_get-2.23> patch -p1 -E < ../CDDB_get-2.23p1.patch

now install it as usual (and described within the README from CDDB_get)

now go in the directory where rton.c exists.
type here: gcc -o rton rton.c
and then copy rton in a directory in your path.

Finally copy getcd.sh somewhere in you path.

now you can use getcd.sh. For a short description how to use it either 
read USAGE or type getcd.sh -h.

IMPORTANT: Any user who should use this script needs read-access to the
cdrom device, additional it is actually necessary to create a symlink
/dev/cdrom to your real device eg. /dev/sr0 or /dev/hdb. And the user must have
access to the internet.

Note
----
Please note that this is not a release. You can use it and it will not harm
anything as for as I can say, but it might not work with some configurations
or CDs.
In the release there will be some kind of detection which tools are present and 
witch not and the script will use only present tools or give an error 
description.
Note further that it is desired to modify the script for your needs. It is not
very complex and with some error and trial it will be possible to tailor it
exactly for your needs. In future there will be configuration files to make it
even more ease to configure the script for your situation. (I am thinking
about reqriting the script in c)