1 # System defaults for abcde version 2.8.2
2 # Nothing in this file is uncommented by default.
4 # If you wish to override these system-wide settings, create your own
5 # .abcde.conf file in your home directory.
9 # Choose whether you want to use "cddb", "musicbrainz" and/or
10 # "cdtext". Default is "musicbrainz", but all can be specified in a
11 # comma delimited list to be tried sequentially. All the results will
12 # be displayed ready for user choice.
13 #CDDBMETHOD=musicbrainz
15 # If you wish to use a different CDDB server, edit this line.
16 # If you just wanted to use a proxy server, just set your http_proxy
17 # environment variable - wget will use it correctly.
18 #CDDBURL="http://freedb.freedb.org/~cddb/cddb.cgi"
20 # The CDDB protocol level.
21 # Right now 5 is latin1 output and 6 is UTF8 encoding.
24 # The CDDB protocol requires hello information, including a valid username
25 # and hostname. If you feel paranoid about giving away such info, edit this
26 # line - the format is username@hostname.
27 #HELLOINFO="`whoami`@`hostname`"
29 # This controls the email address CDDB changes are submitted to.
30 #CDDBSUBMIT=freedb-submit@freedb.org
32 # The following options control whether or not fetched CDDB entries
33 # are cached locally in $CDDBLOCALDIR
35 #CDDBLOCALDIR="$HOME/.cddb"
36 #CDDBLOCALRECURSIVE="y"
38 # If NOSUBMIT is set to y, then abcde will never prompt asking if you
39 # wish to submit your edited cddb file.
42 # If NOCDDBQUERY is set to y, then abcde will never even try to access
43 # the CDDB server; running abcde will automatically drop you into a
44 # blank cddb file to edit at your leisure. This is the same as the
45 # -n option. NOCDDBQUERY=y implies NOSUBMIT=y.
48 # Select here if you want to use the locally stored CDDB entries.
49 # This is useful if you do a lot of editing to those CDDB entries.
50 # Also, other tools like Grip store CDDB entries under $HOME/.cddb,
51 # so they can be reused when ripping CDs. (If this is set to "y" make
52 # sure that CDDBLOCALRECURSIVE is also set to "y".)
55 # List, separated with a comma, the fields we want the parsing function to
56 # output. Defaults to YEAR and GENRE, for a complete list of fields provided by
58 # The fields are not case sensitive. Actually, "y,g" will work as fine as "Y,G"
60 #SHOWCDDBFIELDS=year,genre
62 # Specify the style of encoder to use here -
63 # oggenc, vorbize - for OGGENCODERSYNTAX
64 # lame, gogo, bladeenc, l3enc, xingmp3enc, mp3enc - for MP3ENCODERSYNTAX
65 # flac - the only supported for FLACENCODERSYNTAX at the moment
66 # speexenc - the only encoder for SPEEXENCODERSYNTAX
67 # mpcenc - encoder for MPCENCODERSYNTAX
68 # wavpack, ffmpeg - encoder for WVENCODERSYNTAX
69 # mac - for APENCODERSYNTAX
70 # fdkaac, ffmpeg, neroAacEnc, faac, qaac, fhgaacenc - for AACENCODERSYNTAX
71 # opusenc - for OPUSENCODERSYNTAX
72 # twolame, ffmpeg - for MP2ENCODERSYNTAX
73 # tta, ttaenc - for TTAENCODERSYNTAX
74 # ffmpeg - for AIFFENCODERSYNTAX
75 # default is a valid option for oggenc, lame, flac, speexenc, mpcenc, wavpack,
76 # fdkaac, opus, twolame and tta. Currently this affects the default location of the
77 # binary, the variable to pick encoder command-line options from, and where
78 # the options are given.
79 #MP3ENCODERSYNTAX=default
80 #OGGENCODERSYNTAX=default
81 #FLACENCODERSYNTAX=default
82 #SPEEXENCODERSYNTAX=default
83 #MKAENCODERSYNTAX=default
84 #MPCENCODERSYNTAX=default
85 #WVENCODERSYNTAX=default
86 #APENCODERSYNTAX=default
87 #AACENCODERSYNTAX=default
88 #OPUSENCODERSYNTAX=default
89 #MP2ENCODERSYNTAX=default
90 #TTAENCODERSYNTAX=default
91 #AIFFENCODERSYNTAX=default
93 # Specify the syntax of the normalize binary here - so far only 'normalize'
95 #NORMALIZERSYNTAX=default
97 # CD reader program to use - currently recognized options are 'cdparanoia',
98 # 'libcdio' (cd-paranoia),'icedax', 'cdda2wav', 'dagrab', 'pird',
99 # 'cddafs' (Mac OS X only) and 'flac'.
100 #CDROMREADERSYNTAX=cdparanoia
102 # CUE reader syntax for the CUE reader program to use.
103 # abcde supports 2 CUE modes: 'mkcue' and 'abcde.mkcue' so you can set the
104 # MKCUE variable accordingly. The 'abcde.mkcue' uses an internal
105 # implementation, without the need of an external program.
106 #CUEREADERSYNTAX=default
108 # Specify the program to convert a CUE sheet back to a CD disc ID for CDDB queries.
109 # Select between '/path/to/cue2discid' (provided as an example) or
110 # 'abcde.cue2discid', implemented internaly.
111 #CUE2DISCID=abcde.cue2discid
113 # Keep the wav files after encoding. Set it to "y" and remove "clean" from
114 # the list of default actions, since we purge the temp directory as default.
117 # Track padding: force abcde to pad tracks using 0, so every song uses a two
118 # digit entry. If set to "y", even a single song encoding outputs a file like
122 # Define if you want abcde to be non-interactive.
123 # Keep in mind that there is no way to deactivate it right now in the command
124 # line, so setting this option makes abcde to be always non-interactive.
127 # Specify 'nice'ness of the encoder, the CD reader and the distmp3 proc.
128 # This is a relative 'nice'ness (that is, if the parent process is at a
129 # nice level of 12, and the ENCNICE is set to 3, then the encoder will
130 # run with an absolute nice value of 15. Note also, that setting these
131 # to be empty will result in some default niceness increase (4 in tcsh
132 # and 10 using the bsdutils' nice).
137 # Paths of programs to use
144 #XINGMP3ENC=xingmp3enc
154 #NEROAACENC=neroAacEnc
158 # Note that if you use avconv rather than FFmpeg give the
159 # path to avconv here (e.g. FFMPEG=/usr/bin/avconv):
164 # The path for qaac, refalac and fhgaacenc can be problematic as abcde
165 # cannot cope with the 'standard' Wine location with spaces. For example:
166 # "$HOME/.wine/drive_c/Program\ Files/qaac/qaac.exe" is problematic. Try instead:
167 # "$HOME/.wine/drive_c/qaac/qaac.exe"
168 # Installation instructions for qaac, refalac and fhgaacenc here:
169 # http://www.andrews-corner.org/linux/qaac.html
170 # http://www.andrews-corner.org/linux/fhgaacenc.html
171 # (Hint: Use QAAC=refalac to use the Open Source alac encoder...)
175 # Taggers, rippers, replaygain etc:
180 #CDPARANOIA=cdparanoia
181 #CD_PARANOIA=cd-paranoia
190 #VORBISCOMMENT=vorbiscomment
192 #NORMALIZE=normalize-audio
194 #VORBISGAIN=vorbisgain
207 # Options to call programs with:
209 # If HTTPGET is modified, the HTTPGETOPTS options should also be defined
210 # accordingly. If HTTPGET is changed, the default options will be set,
211 # if HTTPGETOPTS is empty or not defined.
213 # for fetch (FreeBSD): HTTPGETOPTS="-q -o -"
214 # for wget: HTTPGETOPTS="-q -nv -O -"
215 # for curl (MacOSX): HTTPGETOPTS="-f -s"
216 #HTTPGETOPTS="-q -O -"
219 # For the best LAME encoder options have a look at:
220 # <http://wiki.hydrogenaudio.org/index.php?title=LAME#Recommended_encoder_settings>
221 # A good option is '-V 0' which gives Variable Bitrate Rate (VBR) recording
222 # with a target bitrate of ~245 Kbps and a bitrate range of 220...260 Kbps.
225 # Bladeenc still works with abcde in 2015, and the last release of bladeenc
226 # was in 2001! Settings that will produce a great encode are: '-br 192'
228 # L3enc still works with abcde in 2015, pretty amazing when you realise
229 # that the last release of l3enc was in 1997! Settings that will produce
230 # a great encode are: '-br 256000 -hq -crc'
233 # And mp3enc also still works with abcde in 2015 with the last release
234 # of mp3enc in 1998! Settings that will produce a great encode, albeit
235 # a slow one, are: '-v -br 256000 -qual 9 -no-is -bw 16500'
243 # The flac option is a workaround for an error where flac fails
244 # to encode with error 'floating point exception'. This is flac
245 # error in get_console_width(), corrected in flac 1.3.1
247 # Options passed to MetaFlac for ReplayGain tags:
248 #FLACGAINOPTS="--add-replay-gain"
252 # MPP/MP+ (Musepack):
253 # For the encoder options look at 'mpcenc --longhelp', consider
254 # setting '--extreme' for a good quality encode.
258 # Look at 'wavpack --help' for detailed options, consider using '-hx3'
259 # for a good quality encode
261 # For Wavpack replay gain we set both the default of 'track gain'
262 # as well as this option for 'album gain'. Better media players
263 # such as vlc can select either or neither.
266 # Monkey's Audio (ape)
267 # Without this set mac chokes unfortunately. Choices
268 # are from 1000 to 5000.
272 # These options needed by FFmpeg for tagging and selection of id3v2 version:
273 # 1. '-write_id3v2 1' allows id3v2 tagging while '-write_id3v2 0' disables tagging
274 # 2. '-id3v2_version 4' gives version id3v2.4 while '3' gives id3v2.3
275 #AIFFENCOPTS="-write_id3v2 1 -id3v2_version 4"
278 # There are now 6 AAC encoders available to abcde, the default being
279 # fdkaacenc. Note that the old AACENCOPTS has been rendered obsolete by
280 # the following options, new to abcde 2.7:
281 # 1. fdkaac: see 'fdkaac --help' and consider using
282 # '--profile 2 --bitrate-mode 5 --afterburner 1'
283 # for a good quality encode.
284 #FDKAACENCOPTS='--bitrate 192k'
285 # 2. FFmpeg: Use the following to use the FFmpeg native encoder, adding
286 # -strict -2 if you have an older FFmpeg:
287 # FFMPEGENCOPTS="-c:a aac -b:a 192k"
288 # 3. neroAacEnc: see 'neroAacEnc -help' and
289 # consider using '-q 0.65' for a good quality encode.
291 # 4. faac: see 'faac --long-help' and consider
292 # using '-q 250' for a good quality encode.
294 # 5. qaac: simply run 'wine qaac.exe' to see all options and
295 # consider using '--tvbr 100' for a good quality
296 # encode or '--alac' for Apple Lossless Audio Codec
298 # 6. fhgaacenc: simply run 'wine fhgaacenc.exe' to see all options.
299 # consider using '--vbr 4' for a decent quality encode.
303 # This is a lossless format so no options of any note available:
307 # For the encoder options look at: 'opusenc -h'
311 # Currently uses either twolame or ffmpeg, for twolame options look at:
312 # 'twolame --help',a highly recommended setting is "--bitrate 320".
315 # FFmpeg or avconv can be used for several audio codecs, as well as being
316 # the default encoder for the Matroska container mka::
317 # 1. Encoding to WavPack (FFmpeg only: avconv does not have a native encoder).
318 # Consider setting the following with a compression_level between 0-8:
319 # FFMPEGENCOPTS="-c:a wavpack -compression_level 6"
320 # 2. Encoding to ALAC (both FFmpeg and avconv have a native encoder).
321 # Consider using the following for either FFmpeg and avconv:
322 # FFMPEGENCOPTS="-c:a alac"
324 # Consider using the following for either FFmpeg and avconv:
325 # FFMPEGENCOPTS="-c:a mp2 -b:a 320k"
329 # There are three ways to tag MP3 files:
330 # 1. id3v1 (with id3)
331 # 2. id3v2.3 (with id3v2)
332 # 3. id3v2.4 (with eyeD3) This is the default
333 # Use ID3TAGV to select one of the older formats:
337 #EYED3OPTS="--set-encoding=utf16-LE"
340 # The variable CDPARANOIOPTS is also used by GNU's cd-paranoia,
341 # so use this when setting CDROMREADERSYNTX=libcdio.
345 # Options for the CD ripper dagrab can be seen by running 'dagrab -h'.
346 # A good option to experiment with is the 'sectors per request' setting
347 # which by default is '-n 8'.
359 #VORBISCOMMENTOPTS="-R"
360 #METAFLACOPTS="--no-utf8-convert"
361 # Bear in mind that the AtomicParsley option '--overWrite' is already
366 # Comma-separated list of one or more of the following:
367 # cddb,cue,read,normalize,encode,tag,move,replaygain,playlist,getalbumart,embedalbumart,clean,default
368 # encode implies read
369 # normalize implies read
370 # tag implies cddb,read,encode
371 # move implies cddb,read,encode,tag
372 # replaygain implies cddb,read,encode,tag,move
373 # playlist implies cddb
374 # embedalbumart implies getalbumart
375 # An action can be added to the "default" action by specifying it along with
376 # "default", without having to repeat the default ones:
377 # ACTIONS=default,playlist
378 # The default action list (referenced as "default") is defined in the following
380 #ACTIONS=cddb,read,encode,tag,move,clean
382 # CD device you want to read from
383 # It can be defined as a singletrack flac file, but since it might change from
384 # file to file it makes little sense to define it here.
386 # If we are using the IDE bus, we need CDPARANOIACDROMBUS defined as "d"
387 # If we are using the ide-scsi emulation layer, we need to define a "g"
388 #CDPARANOIACDROMBUS="d"
390 # If you'd like to make a default location that overrides the current
391 # directory for putting mp3's, uncomment this.
394 # Or if you'd just like to put the temporary .wav files somewhere else
395 # you can specify that here
398 # OUTPUTTYPE can be any of a number of formats, either a single format
399 # (e.g. "ogg") or a combination of them separated with ","
400 # (e.g. "flac,mp3"). Currently recognised and supported are:
401 # "flac", "m4a", "mp3, "mpc", "ogg", "opus", "mka", "spx", "vorbis", "wav", "wv", "ape", "aiff"
404 # Output filename format - change this to reflect your inner desire to
405 # organize things differently than everyone else :)
406 # You have the following variables at your disposal:
407 # OUTPUT, GENRE, ALBUMFILE, ARTISTFILE, TRACKFILE, TRACKNUM and YEAR.
408 # Make sure to single-quote this variable. abcde will automatically create
409 # the directory portion of this filename.
410 # NOTICE: OUTPUTTYPE has been deprecated in the OUTPUTFORMAT string.
411 # Since multiple-output was integrated we always append the file type
412 # to the files. Remove it from your user defined string if you are getting
413 # files like ".ogg.ogg".
414 #OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
416 # Like OUTPUTFORMAT but for Various Artists discs.
417 #VAOUTPUTFORMAT='Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'
419 # Like OUTPUTFORMAT and VAOUTPUTFORMAT but for the ONEFILE rips.
420 #ONETRACKOUTPUTFORMAT=$OUTPUTFORMAT
421 #VAONETRACKOUTPUTFORMAT=$VAOUTPUTFORMAT
423 # Define how many encoders to run at once. This makes for huge speedups
424 # on SMP systems. Defaults to 1. Equivalent to -j.
427 # Support for systems with low disk space:
428 # n: Default parallelization (read entire CD in while encoding)
429 # y: No parallelization (rip, encode, rip, encode...)
432 # If set to y, enables batch mode normalization, which preserves relative
433 # volume differences between tracks of an album.
436 # Enables nogap encoding when using the 'lame' encoder.
439 # Set the playlist file location format. Uses the same variables and format
440 # as OUTPUTFORMAT. If the playlist is specified to be in a subdirectory, it
441 # will be created for you and the playlist will reference files from that
443 #PLAYLISTFORMAT='${ARTISTFILE}-${ALBUMFILE}.${OUTPUT}.m3u'
444 # If you want to prefix every filename in a playlist with an arbitrary
445 # string (such as 'http://you/yourstuff/'), use this option
446 #PLAYLISTDATAPREFIX=''
448 #Like PLAYLIST{FORMAT,DATAPREFIX} but for Various Artists discs:
449 #VAPLAYLISTFORMAT='${ARTISTFILE}-${ALBUMFILE}.${OUTPUT}.m3u'
450 #VAPLAYLISTDATAPREFIX=''
452 #This will give the playlist CR-LF line-endings, if set to "y".
453 #(some hardware players insist on CR-LF line-endings)
456 # album art download options (see glyrc's help for details with more detailed
457 # examples here: https://github.com/sahib/glyr/wiki/Commandline-arguments).
458 # For example use '--formats jpg;jpeg' to only search for JPEG images
459 # These options: '--from <provider>' and '--lang <langcode>' might also be useful
461 #ALBUMARTFILE="cover.jpg"
464 # Options for ImageMagick commands used by album art processing when available
465 # For example: CONVERTOPTS="-colorspace RGB -resize 600x600>"
466 # to make the image RGB and fit inside 600x600 while keeping the aspect ratio
469 #DISPLAYCMDOPTS="-resize 512x512 -title abcde_album_art"
470 # By default convert is only called when the image type is different from
471 # ALBUMARTTYPE, use ALBUMARTALWAYSCONVERT="y" to always call convert
472 #ALBUMARTALWAYSCONVERT="n"
474 # Custom filename munging:
475 # By default, abcde will do the following to CDDB data to get a useful filename:
476 # 1. Delete any dots preceding the title (first sed command)
477 # 2. Replace all spaces with an underscore (second sed command). Simply remove
478 # this if you prefer spaces.
479 # 3. Delete a grab bag of characters which variously Windows and Linux do not permit
480 # (tr command). Remove any of these from the list if you wish to actually use them.
484 # echo "$@" | sed -e 's/^\.*//' -e 's/ /_/g' | tr -d ":><|*/\"'?[:cntrl:]"
487 # More examples for custom filename munging:
489 # VARIANT 1: (works anywhere style)
491 # Translate everything to lowercase
492 # replace ALL chars that may cause trouble for Linux, Windows and DOS
493 # with '_' (underscore); remove double underscores; remove leading and
494 # trailing underscores; recode to flat ASCII
498 # echo "$@" | tr [A-Z] [a-z] | \
499 # sed "s/[- ,.:\'\/!@#\?\$%\^&()]/_/g" | \
500 # sed 's/_[_]*/_/g' | \
503 # recode -f iso8859-1..flat
506 # VARIANT 2: (legible style)
508 # Accept all chars, EXCEPT '/' (obvious) or ":" (because eyeD3 cannot
509 # cope with ":" in pathnames): replace them with " " (space).
510 # Additionally, replace contiguous spaces with one space; strip
511 # leading spaces; strip trailing spaces and recode to flat filenames.
515 # echo "$@" | sed "s/[:\/]/ /g" | \
516 # sed 's/ [ ]*/ /g' | \
519 # recode -f iso8859-1..flat
524 # Custom filename munging specific to track names:
525 # By default this function will call the mungefilename function.
531 # Custom filename munging specific to artist names:
532 # By default this function will call the mungefilename function.
538 # Custom filename munging specific to album names:
539 # By default this function will call the mungefilename function.
545 # Custom genre munging:
546 # By default we just transform uppercase to lowercase. Not much of a fancy
547 # function, with not much use, but one can disable it or just turn the first
551 # echo $CDGENRE | tr "[:upper:]" "[:lower:]"
555 # Custom pre-read function
556 # By default it does nothing.
557 # You can set some things to get abcde function in better ways:
558 # * Close the CD tray using eject -t (if available in eject and supported by
560 # * Set the CD speed. You can also use the built-in options, but you can also
561 # set it here. In Debian, eject -x and cdset -x do the job.
562 # KEEP IN MIND that executables included in pre_read must be in your $PATH or
563 # you have to define them with full /path/to/binary
564 # Uncomment and substitute the ":" with your commands.
570 # Custom post-read function
571 # By default it does nothing.
572 # You can set some things to get abcde function in better ways:
573 # * Store a copy of the CD TOC.
574 # KEEP IN MIND that executables included in post_read must be in your $PATH or
575 # you have to define them with full /path/to/binary
576 # Uncomment and substitute the ":" with your commands.
583 # By default it does nothing.
584 # You can set some things to get abcde function in better ways:
585 # * Move the resulting directory over the network
586 # * Compare results with a previously made run, for tests
587 # KEEP IN MIND that executables included in post_encode must be in your $PATH or
588 # you have to define them with full /path/to/binary
589 # Uncomment and substitute the ":" with your commands.
595 # If you'd like to have abcde eject the cdrom after all the tracks have been
596 # read, uncomment the following line.
599 # To encode on the remote machines foo, bar, baz, quux, and qiix, as well as
600 # on the local machine (requires distmp3 to be installed on local machine and
601 # distmp3host to be installed and running on all remote machines - see README)
602 #REMOTEHOSTS=foo,bar,baz,quux,qiix
604 # Set to 1,2, etc. to obtain some information about actions happening in the background
605 # Useful if you have a slow network or CDDB servers seem unresponsive.