Sean Finney on Sat, 14 Sep 2002 21:50:09 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: CD ripping (was: Re: [PLUG] un-upgrade in debian)


i second abcde as a fine solution for ripping/encoding.

it let's you specify/configure everything you could possibly want to
configure, but at the same time it runs with reasonable defaults if
you don't really know/care.  simply popping a cd in and typing
'abcde' will get you going.

they let you specify the program to use for every step of the
process (cddb query program, cdparanoia, oggenc, et c.), and the
options to pass to each to boot (for example, CDPARANOIAOPTS='-z'
is _really_ nice).  

also, and maybe my personal favorite, there's a mungefilename shell
function in the config file that let's you have the final say on the
name of your file (you can do sed, tr, or anything else you could in a
script--the filename is $@ for the function, and the final output is
whatever gets printed by the function to stdout:

mungefilename ()
{
        echo "$@" | sed s,:,\ -,g | sed s,\&,and,g | tr \(\) \[\] | tr \ / _
	_ | tr -d \'\"\?\[:cntrl:\]
}


--sean

Attachment: pgpRgRvvfkov6.pgp
Description: PGP signature