r92@frost: data | 2005-08-10 07:11:40 +0300
[clinton/abcde.git] / abcde.conf
CommitLineData
72d7162b 1# System defaults for abcde version 2.2.x
c9c2ca27 2# Nothing in this file is uncommented by default.
3#
4# If you wish to override these system-wide settings, create your own
5# .abcde.conf file in your home directory.
6
81bc6204 7# CDDB options
8
c9c2ca27 9# If you wish to use a different CDDB server, edit this line.
10# If you just wanted to use a proxy server, just set your http_proxy
11# environment variable - wget will use it correctly.
12#CDDBURL="http://freedb.freedb.org/~cddb/cddb.cgi"
13
14# The CDDB protocol requires hello information, including a valid username
15# and hostname. If you feel paranoid about giving away such info, edit this
16# line - the format is username@hostname.
17#HELLOINFO="`whoami`@`hostname`"
18
19# This controls the email address CDDB changes are submitted to.
20#CDDBSUBMIT=freedb-submit@freedb.org
21
22# The following options control whether or not fetched CDDB entries
23# are cached locally in $CDDBLOCALDIR
24#CDDBCOPYLOCAL="n"
25#CDDBLOCALDIR="$HOME/.cddb"
26
81bc6204 27# If NOSUBMIT is set to y, then abcde will never prompt asking if you
28# wish to submit your edited cddb file.
29#NOSUBMIT=n
30
31# If NOCDDBQUERY is set to y, then abcde will never even try to access
32# the CDDB server; running abcde will automatically drop you into a
33# blank cddb file to edit at your leisure. This is the same as the
34# -n option. NOCDDBQUERY=y implies NOSUBMIT=y.
35#NOCDDBQUERY=n
36
c9c2ca27 37# Select here if you want to use the locally stored CDDB entries.
38# This is useful if you do a lot of editing to those CDDB entries.
39# Also, other tools like Grip store CDDB entries under $HOME/.cddb,
40# so they can be reused when ripping CDs.
41#CDDBUSELOCAL="n"
42
43# Specify the style of encoder to use here -
44# oggenc, vorbize - for OGGENCODERSYNTAX
45# lame, gogo, bladeenc, l3enc, xingmp3enc, mp3enc - for MP3ENCODERSYNTAX
12c5d978 46# flac - the only supported for FLACENCODERSYNTAX at the moment
47# speexenc - the only encoder for SPEEXENCODERSYNTAX
48# mppenc - encoder for MPPENCODERSYNTAX
49# default is a valid option for oggenc, lame, flac, speexenc and mppenc.
c9c2ca27 50# Currently this affects the default location of the binary, the variable
51# to pick encoder command-line options from, and where the options are
52# given.
c9c2ca27 53#MP3ENCODERSYNTAX=default
54#OGGENCODERSYNTAX=default
55#FLACENCODERSYNTAX=default
56#SPEEXENCODERSYNTAX=default
99d009fa 57#MPPENCODERSYNTAX=default
c9c2ca27 58
59# Specify the syntax of the normalize binary here - so far only 'normalize'
60# is supported.
61#NORMALIZERSYNTAX=default
62
63# CD reader program to use - currently recognized options are 'cdparanoia',
64# 'cdda2wav', 'dagrab' and 'cddafs' (Mac OS X only).
65#CDROMREADERSYNTAX=cdparanoia
66
67# Keep the wav files after encoding. Set it to "y" and remove "clean" from
68# the list of default actions, since we purge the temp directory as default.
69#KEEPWAVS=n
70
71# Track padding: force abcde to pad tracks using 0, so every song uses a two
72# digit entry. If set to "y", even a single song encoding outputs a file like
73# 01.my_song.ext
74#PADTRACKS=n
75
d0491de2 76# Define if you want abcde to be non-interactive.
77# Keep in mind that there is no way to deactivate it right now in the command
78# line, so setting this option makes abcde to be always non-interactive.
79#INTERACTIVE=n
80
c9c2ca27 81# Specify 'nice'ness of the encoder, the CD reader and the distmp3 proc.
82# This is a relative 'nice'ness (that is, if the parent process is at a
83# nice level of 12, and the ENCNICE is set to 3, then the encoder will
84# run with an absolute nice value of 15. Note also, that setting these
85# to be empty will result in some default niceness increase (4 in tcsh
86# and 10 using the bsdutils' nice).
87#ENCNICE=10
88#READNICE=10
89#DISTMP3NICE=10
90
91# Paths of programs to use
92#LAME=lame
93#GOGO=gogo
94#BLADEENC=bladeenc
95#L3ENC=l3enc
96#XINGMP3ENC=xingmp3enc
97#MP3ENC=mp3enc
98#VORBIZE=vorbize
99#OGGENC=oggenc
100#FLAC=flac
101#SPEEXENC=speexenc
9f659ada 102#MPPENC=mppenc
103
c9c2ca27 104#ID3=id3
105#ID3V2=id3v2
106#CDPARANOIA=cdparanoia
107#CDDA2WAV=cdda2wav
108#CDDAFS=cp
109#CDDISCID=cd-discid
110#CDDBTOOL=cddb-tool
111#EJECT=eject
112#MD5SUM=md5sum
113#DISTMP3=distmp3
114#VORBISCOMMENT=vorbiscomment
c008b56d 115#METAFLAC=metaflac
72d7162b 116#NORMALIZE=normalize-audio
c9c2ca27 117#CDSPEED=eject
6119aaa1 118#VORBISGAIN=vorbisgain
119#MKCUE=mkcue
c9c2ca27 120
121# Options to call programs with:
122
123# If HTTPGET is modified, the HTTPGETOPTS options should also be defined
124# accordingly. If HTTPGET is changed, the default options will be set,
125# if HTTPGETOPTS is empty or not defined.
126#HTTPGET=wget
127# for fetch (FreeBSD): HTTPGETOPTS="-q -o -"
128# for wget: HTTPGETOPTS="-q -O -"
129# for curl (MacOSX): HTTPGETOPTS="-f -s"
130#HTTPGETOPTS="-q -O -"
131
132# MP3:
133#LAMEOPTS=
134#GOGOOPTS=
135#BLADEENCOPTS=
136#L3ENCOPTS=
137#XINGMP3ENCOPTS=
138#MP3ENCOPTS=
139
140# Ogg:
141#VORBIZEOPTS=
142#OGGENCOPTS=
143
144# FLAC:
da01ddc3 145#FLACOPTS="-f"
c9c2ca27 146
147# Speex:
148#SPEEXENCOPTS=
149
99d009fa 150# MPP/MP+ (Musepack):
12c5d978 151# For the encoder options take a look at the manpage. Set them like this:
152# MPPENCOPTS='--xtreme' if you wish to set more options then:
153# MPPENCOPTS='--xtreme --skip 20 --fade 10'
99d009fa 154#MPPENCOPTS=
155
c9c2ca27 156#ID3OPTS=
157#ID3V2OPTS=
158#CDPARANOIAOPTS=
159#CDDA2WAVOPTS=
160#CDDAFSOPTS="-f"
161#CDDBTOOLOPTS=
162#EJECTOPTS=
163#DISTMP3OPTS=
164#NORMALIZEOPTS=
165#CDSPEEDOPTS="-x"
166#CDSPEEDVALUE=""
6119aaa1 167#MKCUEOPTS=""
168#VORBISCOMMENTOPTS="-R"
169#METAFLACOPTS="--no-utf8-convert"
c9c2ca27 170
171# Actions to take
172# Comma-separated list of one or more of the following:
173# cddb,read,normalize,encode,tag,move,playlist,clean
174# encode implies read
175# normalize implies read
176# tag implies cddb,read,encode
177# move implies cddb,read,encode,tag
178# playlist implies cddb
179# The default action list is defined in the following comment.
180#ACTIONS=cddb,read,encode,tag,move,clean
181
c9c2ca27 182# CD device you want to read from
183#CDROM=/dev/cdrom
c008b56d 184# If we are using the IDE bus, we need CDPARANOIACDROMBUS defined as "d"
185# If we are using the ide-scsi emulation layer, we need to define a "g"
186#CDPARANOIACDROMBUS="d"
c9c2ca27 187
188# If you'd like to make a default location that overrides the current
189# directory for putting mp3's, uncomment this.
190#OUTPUTDIR=`pwd`
191
192# Or if you'd just like to put the temporary .wav files somewhere else
193# you can specify that here
194#WAVOUTPUTDIR=`pwd`
195
196# OUTPUTTYPE can be either "ogg", "mp3", "flac" or "spx", or a combination
197# of them separated with ",": "ogg,mp3".
198#OUTPUTTYPE=ogg
199
200# Output filename format - change this to reflect your inner desire to
201# organize things differently than everyone else :)
202# You have the following variables at your disposal:
203# OUTPUT, GENRE, ALBUMFILE, ARTISTFILE, TRACKFILE, and TRACKNUM.
204# Make sure to single-quote this variable. abcde will automatically create
205# the directory portion of this filename.
206# NOTICE: OUTPUTTYPE has been deprecated in the OUTPUTFORMAT string.
207# Since multiple-output was integrated we always append the file type
208# to the files. Remove it from your user defined string if you are getting
209# files like ".ogg.ogg".
210#OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
211
212# Like OUTPUTFORMAT but for Various Artists discs.
d6718558 213#VAOUTPUTFORMAT='Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'
c9c2ca27 214
215# Define how many encoders to run at once. This makes for huge speedups
216# on SMP systems. Defaults to 1. Equivalent to -j.
217#MAXPROCS=2
218
219# Support for systems with low disk space:
220# n: Default parallelization (read entire CD in while encoding)
221# y: No parallelization (rip, encode, rip, encode...)
222#LOWDISK=n
223
81bc6204 224# If set to y, enables batch mode normalization, which preserves relative
225# volume differences between tracks of an album. Also enables nogap encoding
226# when using the 'lame' encoder.
227#BATCH=n
228
c9c2ca27 229# Set the playlist file location format. Uses the same variables and format
230# as OUTPUTFORMAT. If the playlist is specified to be in a subdirectory, it
231# will be created for you and the playlist will reference files from that
232# subdirectory.
233#PLAYLISTFORMAT='${ARTISTFILE}-${ALBUMFILE}.${OUTPUT}.m3u'
234# If you want to prefix every filename in a playlist with an arbitrary
235# string (such as 'http://you/yourstuff/'), use this option
236#PLAYLISTDATAPREFIX=''
237
238#Like PLAYLIST{FORMAT,DATAPREFIX} but for Various Artists discs:
239#VAPLAYLISTFORMAT='${ARTISTFILE}-${ALBUMFILE}.${OUTPUT}.m3u'
240#VAPLAYLISTDATAPREFIX=''
241
242#This will give the playlist CR-LF line-endings, if set to "y".
99d009fa 243#(some hardware players insist on CR-LF line-endings)
c9c2ca27 244#DOSPLAYLIST=n
245
246# Custom filename munging:
247# By default, abcde will do the following to CDDB data to get a useful
248# filename:
249# * Translate colons to a space and a dash for Windows compatibility
250# * Eat control characters, single quotes, and question marks
251# * Translate spaces and forward slashes to underscores
7acef70b 252# * Translate stars into pluses.
c9c2ca27 253# To change that, redefine the mungefilename function.
254# mungefilename recieves the CDDB data (artist, track, title, whatever)
255# as $1 and outputs it on stdout.
256#mungefilename ()
257#{
40c61684 258# echo "$@" | sed s,:,\ -,g | tr \ /\* __+ | tr -d \'\"\?\[:cntrl:\]
c9c2ca27 259#}
260
7acef70b 261# Custom genre munging:
262# By default we just transform uppercase to lowercase. Not much of a fancy
263# function, with not much use, but one can disable it ot just turn the first
264# Uppercase.
265#mungegenre ()
266#{
267# echo $CDGENRE | tr "[:upper:]" "[:lower:]"
268#}
269
270
c9c2ca27 271# Custom pre-read function
272# By default it does nothing.
273# You can set some things to get abcde funtion in better ways:
274# * Close the CD tray using eject -t (if available in eject and supported by
275# your CD device.
276# * Set the CD speed. You can also use the built-in options, but you can also
277# set it here. In Debian, eject -x and cdset -x do the job.
99d009fa 278# KEEP IN MIND that executables included in pre_read must be in your $PATH or
279# you have to define them with full /path/to/binary
65f3ebb1 280# Uncomment and substitute the ":" with your commands.
c9c2ca27 281#pre_read ()
282#{
283#:
284#}
285
65f3ebb1 286# Custom post-read function
287# By default it does nothing.
288# You can set some things to get abcde funtion in better ways:
289# * Store a copy of the CD TOC.
290# KEEP IN MIND that executables included in post_read must be in your $PATH or
291# you have to define them with full /path/to/binary
292# Uncomment and substitute the ":" with your commands.
293#post_read ()
294#{
295#:
296#}
297
c9c2ca27 298# If you'd like to have abcde eject the cdrom after all the tracks have been
299# read, uncomment the following line.
300#EJECTCD=y
301
302# To encode on the remote machines foo, bar, baz, quux, and qiix, as well as
303# on the local machine (requires distmp3 to be installed on local machine and
304# distmp3host to be installed and running on all remote machines - see README)
305#REMOTEHOSTS=foo,bar,baz,quux,qiix
b7f1cc84 306
307# Set to obtain some information about actions happening in the background
308# Usefull if you have a slow network or CDDB servers seem irresponsive.
309#EXTRAVERBOSE=n