# -----------------$HOME/.abcde.conf----------------- # # # A sample configuration file to convert music cds to MP3 # format using bladeenc, eyeD3 and abcde version 2.9.3 # # https://andrews-corner.org/abcde/ # -------------------------------------------------- # # Encode tracks immediately after reading. Saves disk space, gives # better reading of 'scratchy' disks and better troubleshooting of # encoding process but slows the operation of abcde quite a bit: LOWDISK=y # Specify the method to use to retrieve the track information, # I give the default below but consider setting 'musicbrainz' # instead, which is my own preferred option: CDDBMETHOD=cddb # With the demise of freedb (thanks for the years of service!) # we move to an alternative: CDDBURL="http://gnudb.gnudb.org/~cddb/cddb.cgi" # Make a local cache of cddb entries and then volunteer to use # these entries when and if they match the cd: CDDBCOPYLOCAL="y" CDDBLOCALDIR="$HOME/.cddb" CDDBLOCALRECURSIVE="y" CDDBUSELOCAL="y" MP3ENCODERSYNTAX=bladeenc # Specify encoder for MP3 BLADEENC=bladeenc # Path to the mp3 encoder BLADEENCOPTS='-br 192' # Options for bladeenc OUTPUTTYPE="mp3" CDROMREADERSYNTAX=cdparanoia CDPARANOIA=cdparanoia CDPARANOIAOPTS="--never-skip=40" # Give the location of the CD identification program: CDDISCID=cd-discid OUTPUTDIR="$HOME/Music" ACTIONS=cddb,read,encode,tag,move,playlist,clean OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}' VAOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}' ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}' VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}' # Create playlists for single and various-artist encodes. I would suggest # commenting these out for single-track encoding. PLAYLISTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}.m3u' VAPLAYLISTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}.m3u' mungefilename () { echo "$@" | sed s,:,-,g | tr / _ | tr -d \'\"\?\[:cntrl:\] } MAXPROCS=2 # Run a few encoders simultaneously PADTRACKS=y # Makes tracks 01 02 not 1 2 EXTRAVERBOSE=2 # Useful for debugging COMMENT='Encoded with bladeenc!!!' # Place a comment... EJECTCD=y # Please eject cd when finished :-)