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