1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
|
#####
#
# RipIT 3.8.0 configuration file.
#
# For further information on ripit configuration / parameters
# and examples see the manpage or the README provided with ripit
# or type ripit --help .
#####
#
# Ripping device & path.
#
# cddevice: Define ripping device if other than /dev/cdrom.
# Default: /dev/cdrom
cddevice=/dev/cdrom
# scsidevice: Device name for special devices if the non ripping
# commands should be executed on a different device node. This might
# be useful for some old SCSI devices. If not set the cddevice will
# be used.
# Example: /dev/sr18
# Default: not set
scsidevice=
# output: Path for audio files. If not set, $HOME will be used.
# Default: not set
output=/var/cache/media/incoming
# directory permissions: Permissions for directories.
# Default: 0755
dpermission=0755
# file permissions: Permissions for sound and log files.
# If not set, uses the default system settings.
# Default: not set
fpermission=
#####
#
# Ripping options.
#
# ripper: select CD ripper
# 0 - dagrab
# 1 - cdparanoia
# 2 - cdda2wav
# 3 - tosha
# 4 - cdd
# Default: cdparanoia
ripper=1
# ripopt: User definable options for the CD ripper.
# Default: not set
ripopt=
# span: Rip only part of a single track or the merged track-interval.
# Possible values: any in the format hh:mm:ss.ff-hh:mm:ss.ff
# Example: rip first 30s of each track: 0-30
# Default: not set
span=
# paranoia: Turn "paranoia" on or off for dagrab and cdparanoia.
# Possible values: 0 - no paranoia, 1 - use paranoia
# 2 - switch paranoia off if ripping fails on one
# track and retry this track without paranoia
# Default: 1 - use paranoia
paranoia=1
# ghost: Analyze the wavs for possible gaps, split the wav into
# chunks of sound and delete blank tracks.
# Possible values: 0 - off, 1 - on
# Default: off
ghost=0
# prepend: Enlarge the the chunk of sound by a number of
# seconds at the beginning (if possible).
# Possible values: any positive number and zero; precision in
# tenths of seconds. Be aware of low numbers.
# Default: 2.0
prepend=2
# extend: Enlarge the the chunk of sound by a number of
# seconds at the end (if possible).
# Possible values: any positive number and zero; precision in
# tenths of seconds. Be aware of low numbers.
# Default: 2.0
extend=2
# resume: Resume a previously started session.
# Possible values: 0 - off, 1 - on
# Default: off
resume=0
# overwrite: Default behaviour of Ripit is not to overwrite existing
# directories, a suffix will be added if directory name exists.
# Use option overwrite to prevent this and either overwrite a previous
# rip or force Ripit to quit or even eject the disc. If ejection is
# chosen, the disc will be ejected even if option eject has not been
# switched on.
# Possible values: n - off, y - on,
# q - quit, e - quit and force ejection
# Default: off
overwrite=n
#####
#
# Encoding options
#
# encode: Encode the wavs.
# Possible values: 0 - off, 1 - on
# Default: on
encode=1
# coder: Select encoders for audio files:
# 0 - Lame (mp3)
# 1 - Oggenc (ogg)
# 2 - Flac (flac)
# 3 - Faac (m4a)
# 4 - mp4als (als)
# 5 - Musepack (mpc)
# Multiple encoders can be selected by giving a comma-separated list
# Example: coder=0,0,1,2 encodes CD twice to mp3, ogg and flac files
# Default: Lame
coder=0
###
#
# lame (mp3) encoder options
#
# qualame: Sets audio quality for lame encoder in cbr (lame-option -q)
# and vbr (lame-option -V) mode, comma separated list.
# Possible values: 0...9, off
# 0: higest quality
# 9: lowest quality
# Can be set to "off" if all options are passed to --lameopt.
# Example: qualame=off,off
# Note: default value is the same for cbr and vbr,
# although vbr-default should be 4.
# Default: 5
qualame=5
# lameopt: Additional options for lame encoder, comma separated list.
# Example: lameopt=-b 128,--preset extreme
# Default: not set
lameopt=
# vbrmode: Enable variable bitrate for lame encoder.
# Possible values: "old" or "new"
# Default: not set
vbrmode=
# bitrate: Sets bitrate for lame encoder.
# Possible values: 32...320, off
# Should be set to "off" if vbr is used
# Default: 128
bitrate=128
# maxrate: Sets maximum bitrate for lame (when using vbr) and oggenc.
# Possible values: 0 - off, 32...320
# Default: 0
maxrate=0
# preset: Use lame presets. To set the "fast" switch, use --vbrmode new.
# Possible values: medium, standard, extreme, insane
#
# medium: 160kbps
# standard: 192kbps
# extreme: 256kbps
# insane: 320kbps
#
# Default: not set
preset=extreme
###
#
# oggenc (ogg) encoder options
#
# qualoggenc: Sets audio quality for oggenc.
# Possible values: 1..10, off
# 1: lowest quality
# 10: highest quality
# Can be set to "off"
# Default: 3
qualoggenc=7
# oggencopt: Additional options for oggenc, comma separated list.
# Default: not set
oggencopt=
###
#
# flac (lossless) encoder options
#
# quaflac: Sets audio compression for flac encoder
# Possible values: 0...8, off
# 0: lowest compression
# 8: highest compression
# Can be set to "off"
# Default: 5
quaflac=5
# flacopt: Additional options for flac encoder, comma separated list.
# Default: not set
flacopt=
###
#
# faac (m4a) encoder options
#
# quafaac: Sets audio quality for faac encoder
# Possible values: 10...500, off
# 10: lowest quality
# 500: highest quality
# Can be set to "off"
# Default: 100
quafaac=100
# faacopt: Additional options for faac encoder, comma separated list.
# Default: not set
faacopt=
###
#
# mp4als (als) encoder options
#
# quamp4als: Would set compression level for mp4als, but mp4als does not
# accept any options (?).
# Default: 0
quamp4als=0
# mp4alsopt: Additional options for mp4als encoder, none are accepted,
# comma separated list.
# Default: not set
mp4alsopt=
###
#
# Musepack (mpc) encoder options
#
# musenc: The encoder name on the command line
# Possible values: any
# Example: musenc=mppenc for older versions
# Default: mpcenc
musenc=mpcenc
# quamuse: Sets audio quality for Musepack encoder
# Possible values: 0...10, off
# 0: lowest quality
# 10: highest quality
# Can be set to "off"
# Default: 5
quamuse=5
# museopt: Additional options for Musepack encoder,
# comma separated list.
# Default: not set
museopt=
#####
#
# Trackname and directory template
#
# dirtemplate: Template for directory structure
# The template can be created using any legal
# character, including slashes (/) for multi-level
# directory-trees, and the following variables:
# $album
# $artist
# $iletter
# $genre
# $quality
# $suffix
# $trackname
# $tracknum
# $year
# $trackno
#
# The variable $iletter is the initial letter of
# the artist variable, the $quality is the quality
# according to the encoding format defined by $suffix.
# The variable $quality reflects the encoder options,
# not the arguments of option --quality which may be set
# to off. The variable $trackno is the total number of tracks
# of the release.
#
# dirtemplate is an array, for each encoder a different
# dirtemplate may be defined (i. e. for each encoder state
# a line starting with dirtemplate=...).
#
# Example:
# dirtemplate="$suffix/hard_path/$iletter/$artist/$year - $album"
#
# The double quotes (") are mandatory!
# Default: "$artist - $album"
dirtemplate="$artist - $album"
# tracktemplate: Template for track names
# "tracktemplate" is used similarly to "dirtemplate"
# Default: "$tracknum $trackname"
tracktemplate="$tracknum $trackname"
# infolog: Log certain operations to file
# (e.g. system calls, creation of dirs/files)
# Possible values: filename (full path, no ~ here!)
# Default: not set
infolog=
# lowercase: Convert filenames to lowercase
# Possible values: 0 - off, 1 - on
# Default: off
lowercase=0
# uppercasefirst: Convert filenames and tags to uppercase first,
# not recommended. To be used on the command line only if CDDB entry
# is in uppercase.
# Possible values: 0 - off, 1 - on
# Default: off
uppercasefirst=0
# underscore: Replace blanks in filenames with underscores
# Possible values: 0 - off, 1 - on
# Default: off
underscore=0
# chars: Exclude special characters in file names and path.
# Note: following characters will always be purged:
# ; > < " and \015 .
# Side note: if calling this option on the command line without
# argument, following characters will be purged: |\:*?$ plus
# blanks and periods at beginning and end of file names and directories.
# This is identical to the word NTFS passed as argument to the command
# line or stated here in the config file. The word HFS will purge colons
# only plus blanks and periods at beginning of file names and
# directories.
#
# No need to escape the special characters here in the config file.
# Possible values: HFS, NTFS, none, any (?)
# Default: not set
chars=
# playlist: Create m3u playlist with or without the full path
# in the filename.
# Possible values: 0 - off,
1 - on with full path
# 2 - on with no path (filename only)
# Default: on (with full path)
playlist=1
#####
#
# Audio file tagging
#
# year-tag: State a year (mp3, m4a) or a date (ogg, flac) tag.
# Possible values: integer
# Default: not set
year=
# comment-tag: State a comment (mp3, m4a, mpc) or a
# description (ogg, flac) tag. To write the cddbid used for freedb
# or the MusicBrainz discid into the comment, use the word "cddbid"
# or "discid".
# Possible values: discid, cddbid or any string
# Default: not set
comment=
# utftag: Use Lame-tags in UTF-8 or convert them
# (but not the filenames) from Unicode to ISO8859-1.
# Use when your mp3-audio player doesn't support Unicode tags.
# Recommended with Lame.
# Possible values: 0 - off, 1 - on
# Default: on
utftag=1
#####
#
# CDDB options
#
# mb: Access MusicBrainz DB via WebService::MusicBrainz module instead
# of the http protocol (see below).
# Possible values: 0 - off, 1 - on
# Default: off
mb=0
# CDDBHOST: Specifies the CDDB server
# Possible values: freedb.org, freedb2.org or musicbrainz.org
# Note: Full name of the server used is $mirror.$CDDBHOST, except for
# freedb2.org (no mirror) and musicbrainz.org has freedb as default
# mirror.
# E.g. default server is freedb.freedb.org
# Default: freedb.org
CDDBHOST=freedb.org
# mirror: Selects freedb mirror
# Possible values: "freedb" or any freedb mirrors
# See www.freedb.org for mirror list
# Note: Full name of the server used is $mirror.$CDDBHOST
# E.g., default server is freedb.freedb.org
# Default: freedb
mirror=freedb
# transfer: Set transfer mode for cddb queries
# Possible values: cddb, http
# Note: CDDB servers freedb2.org and musicbrainz.org may need transfer
# mode http.
# Default: cddb
transfer=cddb
# proto: Set CDDP protocol level
# Possible values: 5, 6
# Protocol level 6 supports Unicode (UTF-8)
# Default: 6
proto=6
# proxy: Address of http-proxy, if needed
# Default: not set
proxy=
# mailad: Mail address for cddb submissions
# Valid user email address for submitting cddb entries
# Default: not set
mailad=
# archive: Read and save cddb data on local machine
# Possible values: 0 - off, 1 - on
# Default: off
archive=0
# submission: Submit new or edited cddb entries to
# freeCDDB
# Possible values: 0 - off, 1 - on
# Default: on
submission=1
# interaction: Turns on or off user interaction in cddb dialog
# Possible values: 0 - off, 1 - on
# Default: on
interaction=1
#####
#
# LCD options
#
# lcd: Use lcdproc to display status on LCD
# Possible values: 0 - off, 1 - on
# Default: off
lcd=0
# lcdhost: Specify the lcdproc host
# Default: localhost
lcdhost=localhost
# lcdport: Specify port number for localhost
# Default: 13666
lcdport=13666
#####
#
# Distributed ripping options
#
# sshlist: Comma separated list of remote machines ripit shall use
# for encoding. The output path must be the same for all machines.
# Specify the login (login@machine) only if not the
# same for the remote machine. Else just state the
# machine names.
# Default: not set
sshlist=
# scp: Copy files to encode to the remote machine.
# Use if the fs can not be accessed on the remote machines
# Possible values: 0 - off, 1 - on
# Default: off
scp=0
# local: Turn off encoding on local machine, e.g. use only remote
# machines.
# Possible values: 0 - off, 1 - on
# Example: local=0 (off) turns off encoding on the
# local machine
# Default: on
local=1
#####
#
# Misc. options
#
# verbosity: Run silent (do not output comments, status etc.) (0), with
# minimal (1), normal without encoder msgs (2), normal (3), verbose (4)
# or extremely verbose (5).
# Possible values: 0...5
# Default: 3 - normal
verbose=3
# eject: Eject cd after finishing encoding.
# Possible values: 0 - off, 1 - on
# Default: off
eject=0
# ejectcmd: Command used to eject and close CD tray.
# Possible values: string
# Example: /usr/sbin/cdcontrol for FreeBSD
# Default: eject
ejectcmd=eject
# ejectopt: Options to command used to eject or close CD.
# Possible values: string or "{cddev}" to design the CD
# device.
# Note: Don't use options -t / close or eject,
# RipIT knows when to eject or load the tray
# Default: {cddev}
ejectopt={cddev}
# quitnodb: Give up CD if no CDDB entry found.
# Useful if option --loop or --nointeraction are on.
# Default behaviour is to let operator enter data or to use default
# artist, album and track names.
# Possible values: 0 - off, 1 - on
# Default: off
quitnodb=0
# execmd: Execute a command when done with ripping. Quote the command
# if needed.
# Possible values: none - off, string - on
# Example: execmd="get_cover -a \"$artist\" -r \"$album\""
# Default: off
execmd=
# book: Create an audiobook, i. e. merge all tracks into one single
# file, option --ghost will be switched off and file suffix will be
# m4b. Make sure to use encoder faac, ripit will not check that.
# A chapter file will be written for chapter marks.
# Possible values: 0 - off, 1 - on
# Default: off
book=0
# loop: Continue with a new CD when the previous one is done.
# Option --eject will be forced. To start ripping process immediately
# after ejection of previous disc, use experimental argument 2. Ripit
# will restart as child process, one might see the prompt and it will
# be necessary to manually terminate the process! Do not use!
# Possible values: 0 - off, 1 - on, 2 - immediate restart, experimental
# Default: off
loop=0
# halt: Powers off machine after finishing encoding
# Possible values: 0 - off, 1 - on
# Default: off
halt=0
# nice: Sets "nice" value for the encoding process
# Possible values: 0..19 for normal users,
# -20..19 for user "root"
# Default: 0
nice=0
# nicerip: Sets "nice" value for the ripping process
# Possible values: 0..19 for normal users,
# -20..19 for user "root"
# Default: 0
nicerip=0
# threads: Comma separated list of numbers giving maximum
# of allowed encoder processes to run at the same time
# (on each machine when using sshlist).
# Possible values: comma separated integers
# Default: 1
threads=1
# md5sum: Create file with md5sums for each type of sound files.
# Possible values: 0 - off, 1 - on
# Default: off
md5sum=0
# wav: Don't delete wave-files after encoding.
# Possible values: 0 - off, 1 - on
# Default: off
wav=0
# normalize: Normalizes the wave-files to a given dB-value
# (default: -12dB)
# See http://normalize.nongnu.org for details.
# Possible values: 0 - off, 1 - on
# Default: off
normalize=0
# normcmd: Command to be used to normalize.
# Possible values: string
# Example: normalize-audio (when using Debian)
# Upstream default: normalize
# We are running Debian so set to normalize-audio
normcmd=normalize-audio
# normopt: Options to pass to normalize
# Possible values: -a -nndB : Normalize to -nn dB, default is -12dB,
# Value range: All values <= 0dB
# Example : normalize -a -20dB *.wav
# -b : Batch mode - loudness differences
# between individual tracks of a CD are
# maintained
# -m : Mix mode - all track are normalized to
# the same loudness
# -v : Verbose operation
# -q : Quiet operation
# For further options see normalize documentation.
# Default: -b
# The -v option will be added by default according to RipITs verbosity
normopt=-b
# cdtoc: Create a toc file to burn the wavs with
# cd-text using cdrdao or cdrecord (in dao mode).
# Possible values: 0 - off, 1 - on
# Default: off
cdtoc=0
# inf: Create inf files to burn the wavs with
# cd-text using wodim or cdrecord (in dao mode).
# Possible values: 0 - off, 1 - on
# Default: off
inf=0
|