====== CD Ripping with abcde == ===== Setup == A good command line CD ripper for ogg & mp3 is ''abcde'' which can be found at [[slack_setup_tips#third-party_programs|www.SlackBuilds.org]]. abcde needs cd-discid, so install this first. You probably have to add yourself to the group ''cdrom''. Look at the group of the device file to which /dev/cdrom or alternatively /dev/dvd points to. Configuration is done in ''/etc/abcde.conf'' or in ''~/.abcde'' KDE provides ''kaudiocreator'' as a graphical alternative to abcde. But for me, abcde works just better out of the box. For encoding mp3 instead of ogg (eg. with abcde), your need 'lame' from linuxpackages. To tag mp3 files you need id3lib also from linuxpackages. ===== Usage == ==== Options == | -o filetype | Select output type(s) comma-delimited, eg. ogg,mp3,flac,spx | | -k | Keep the wav files after encoding | | -C | resume a session for discid when you no longer have the CD available | | -n | Do not query CDDB database | | -x | Eject the CD when all tracks have been read | | -T | Start the numbering of the tracks at a given number | | -W number | Concatenate CDs | | -p | Pads track numbers with 0's | ==== Concatenate Autiobooks == - Use this options: ''abcde -x -n [-o ogg,mp3] -W '' - Make CDDB stub file containing Artist, Album, Year, Genre eg: DTITLE=Stephenie Meyer / Biss zur Mittagsstunde DYEAR=2006 DGENRE=Audiobook (For mp3, you must use ''Speech'' instead of ''Audiobook'') - Delete everything below the line beginning with ''DISCID='' and paste stub file into vim prompt below the line beginning with ''DISCID='' - After ripping: ''rename .. . *.ogg *.mp3'' - Use ''sbtracktagger 'Biss zur Mittagsstunde' *.ogg'' to tag the tracks with book name and chapter number ==== Troubleshooting == Sometimes default ripper application ''cdparaoia'' fails to rip tracks. You can use ''cdda2wav'' instead by creating ''~/.abcde'' with this content: CDROMREADERSYNTAX=cdda2wav CDDA2WAV=cdda2wav