This is a Bourne shell script that automates the ripping, encoding, and
naming of CD's.

This script uses cda or wget for CDDB lookups, cdparanoia, cdda2wav, dagrap, or tosha for ripping,
and bladeenc, 8hz-mp3, l3enc, xingmp3enc, lame, and mp3enc to encode the wav files into mp3's.
Or oggenc to encode into the Ogg format. RipEnc also uses mp3info or id3ren for id3 tagging.

You can now use "wget" instead of cda for CDDB lookups. This means that the XMCD package no
longer has to be present to do CDDB lookups with RipEnc! I highly recommend using wget if it
is present on your system. This has the added benefit of being able to use freedb servers for the CDDB
lookups. The wget support in RipEnc includes code to take care of multiple matches in the
CD database. I did not include support (not yet anyway) for the Not Found response from the
freedb servers; however, this should only be a problem with CD's that have just been released
or some obscure ones. If you have any problems with using "wget" for the CDDB lookup
please report them!

If you use wget make sure you have read permissions on the CD device! This is required so that
the discid program can read the table of contents of the Cd and calculate the Disc ID.

Wget is pretty common but if you don't have it it is available here:

ftp://wuarchive.wustl.edu/systems/gnu/wget

If you use CDA the setting of the XMCD_LIBDIR enviroment variable can be set from within
the script.

Id3 tagging for multiple CD's now work! Thanks goes to Devon Jones who found the problem and
mostly fixed it (I had to add a few extra lines of code for a total fix). So you can rip as many CD's you want at a time
and the Id3 tags will be correct! 

Also, I fixed a MAJOR bug when dealing with Various Artist CD's so RipEnc's support for those are
much better than it was. Although still not as good as I would like. The id3 tags for Various Artist CD's 
might have to be manually edited a little bit but most of the work will be done for you.

In earlier version of RipEnc (prior to 1.1) only bladeenc appeared to write into the encode log. With
version 1.1 all encoders should now write to the encode log file.

Naming conventions 5 and 6 will not work with various artist CD's.  It would be easy to make them 
work with various artist CD's but I don't think they would make much sense.  If someone thinks differently
just let me know.  There is currently no check to make sure you don't use 5 or 6 with a various artist CD
so if you do it will probably result in some unpredictable results.  Be Careful.

Thanks to Keenan Brock who submitted some changes that made it into this release of RipEnc (and some
that will probably show up in future versions). Also thanks to him for making some changes to discid.c
that enabled the DEVICE variable to be passed to discid.

Also thanks goes to Daniel Ahlberg and Brett Rabe who reported a problem with cda from XMCD 3.0. This
may have also been a problem with earlier versions of cda. The problem was that some more lines
were added to the cda output which messed up my regular expressions that parsed the output. This
made it appear that RipEnc didn't retrieve anything when in fact it had, however, it was confused
since the retrieved info was not in the expected format.

Please report bugs!!

Any comments/suggestions are appreciated. (good or bad)

Michael J. Parmeley
August 26, 2001
mjparme@asde.net
