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