abcde is a frontend to cdparanoia, wget, cd-discid, id3, and your favorite Ogg Vorbis (the default), MP3, FLAC, Ogg Speex, or MPP (Musepack) encoder. It grabs an entire CD and converts each track to the desired format, then comments or ID3-tags each file, all with one command. It supports multiple output in a single CD read, the creation of a single track from a CD, resume operation, CD concatenation, volume normalization, gapless encoding (with LAME), parallelization, SMP, proxies, customizable filename organization and munging, playlist generation, distributed encoding via distmp3, and more.
The CDDB/CDDB_get Perl module gets the CDDB info for an audio CD. The included script was intended as a demo for CDDB_get, but over time it has gained powerful features like the ability to write to a database, offline mode, HTTP mode (including proxy), saving in standard XMCD format, and writing 'lame' commands.