readme 1.7 KB
This is another shell script that combines cdda2wav with various encoders. 

As I started this i was not pleased by any of the existent grabber/encoder 
frontends. So I decided to create my own one. The goal was to rip and encode in
one step without creating any temporary .wav file and to have a simple command
with only a few easy arguments to control this command.

Now getcd.sh is a not to complicated bash script that uses awk, sed, cdda2wav, 
flac, lame, bladeenc, ogg/vorbis, cddb.pl (in a slightly patched version). 
It encodes tracks from the cd to a spcifiable base directory without creating 
any temporary files. 
It creates subdirectorys basedir/[mp3|flac|ogg|wav]/artist/cd-title for the 
corresponding encoding-method and save files with the name 
trackno-tracktitle.[mp3|flac|ogg|wav] again corresponding to the used 
encoding-method. 
If one encodes a sampler-cd (cd with various artists) it is often so, that 
the artist of the track is mentioned in the cddb-track-title. For this reason
one can specify a delimiting character and the order (artist or title first) to
split the cddb-track-info and generate correct id3tags or similar.

Additional to the encoded files getcd.sh creates an file cdinfo.xml which 
contains all essential information of the original CD. I have written also 
some xslt files that can be used to create .xinf files for xcdroast and to 
create .wav from .flac or .mp3. It is planned to create additional xslt files 
to make html-information about the CD, create insert scripts for postgres and 
or mysql (or other rdbs) and converter-scripts that use these xslt-files.
To use the xslt-files one needs an xslt-processor, like xsltproc from
libxml2 (thats the one i used)

for help use getcd.sh -h