| 1 |
RipIt version 4.0.0 2014-05-08 |
| 2 |
Maintained by Felix Suwald |
| 3 |
Web Site: http://www.suwald.com/ripit/index.html |
| 4 |
See also the config file or the manpage for more information. |
| 5 |
|
| 6 |
|
| 7 |
What Is It? |
| 8 |
----------- |
| 9 |
RipIT is used to create MPEG-1 Layer 3 (mp3), Ogg Vorbis (ogg), Flac, |
| 10 |
Faac (m4a), audio lossless (als), Musepack (mpc), Wavpack (wv) and/or |
| 11 |
Wave (wav) audio files from an audio CD. With ffmpeg formats like |
| 12 |
Apple lossless audio (m4a) and other formats can be produced. It is a |
| 13 |
front-end written in perl, for these programs: |
| 14 |
* "cdparanoia", "icedax" or "morituri" for ripping the audio CD tracks |
| 15 |
* "Lame", "OggVorbis" "Flac", "Faac", "mp4als", "Musepack", |
| 16 |
"Wavpack" and "ffmpeg" for encoding the wav files to "mp3", "ogg", |
| 17 |
"flac", "m4a" ("aac"), lossless "als", "mpc", "wv" or lossless |
| 18 |
"m4a" ("alac"). |
| 19 |
* "CDDB_get" or "WebService-MusicBrainz" perl modules for retrieval |
| 20 |
of CD information. |
| 21 |
|
| 22 |
|
| 23 |
It runs in text mode (CLI) and does everything required to |
| 24 |
produce a set of mp3/ogg/flac/m4a/mpc/wv/... files without any |
| 25 |
user-intervention. |
| 26 |
This program does the following with an audio CD: |
| 27 |
* Get the audio CD album/artist/track information from CDDB or MusicBrainz |
| 28 |
* Rip the audio CD (using cdparanoia or other cdrippers) |
| 29 |
* Encode the files (using lame, oggenc, flac, faac, musepack etc.) |
| 30 |
* Tag them according to its format |
| 31 |
* Extracts possible hidden tracks |
| 32 |
* Optional: creates a playlist (M3U) file |
| 33 |
* Optional: prepares and sends a CDDB submission |
| 34 |
* Optional: saves the CDDB file |
| 35 |
* Optional: creates a toc, cue or inf files to burn a CD in DAO with text |
| 36 |
* Optional: anaylze the wavs for gaps and splits them into chunks |
| 37 |
* Optional: merges wavs for gapless encoding |
| 38 |
* Optional: creates a md5sum for each type of sound files |
| 39 |
* Optional: normalizes the wavs before encoding. |
| 40 |
* Optional: add user configurable tags |
| 41 |
* Optional: adds a coverart and album gain to the tags (if the format supports picture tags). |
| 42 |
* Optional: retrieval of coverart from coverartarchive (when using MusicBrainz) |
| 43 |
* Optional: detection of Various Artists style and tagging according the VA-"level". |
| 44 |
* Optional: detect data tracks to be omitted. |
| 45 |
Different encoding formats or the same format at different qualities can |
| 46 |
be used at the same time and encoded into different directories. |
| 47 |
|
| 48 |
|
| 49 |
Installation |
| 50 |
------------ |
| 51 |
To install RipIT correctly (with man-page, config file and the ability |
| 52 |
to call the script by typing ripit only), the single line (as root) |
| 53 |
|
| 54 |
make install |
| 55 |
|
| 56 |
will perform the installation. Additionally a rpm-package is available, |
| 57 |
and a deb-package should also be packed. |
| 58 |
|
| 59 |
|
| 60 |
But the following software must be installed to use RipIT: |
| 61 |
|
| 62 |
* Perl: |
| 63 |
perl v5 - will most probably already be installed |
| 64 |
|
| 65 |
* A ripper to extract the wavs from the CD: |
| 66 |
cdda2wav - will most probably already be installed, or |
| 67 |
cdparanoia - will most probably already be installed, or |
| 68 |
dagrab v0.3.5 - http://web.tiscalinet.it/marcellou/dagrab.html, or |
| 69 |
rip (Morituri) - http://thomas.apestaart.org/morituri/trac/ |
| 70 |
cdd (support not ensured). |
| 71 |
|
| 72 |
* An encoder to create compressed sound files out of the wavs: |
| 73 |
lame - http://lame.sourceforge.net/ to create mp3 |
| 74 |
oggenc - http://vorbis.com to create ogg |
| 75 |
flac - https://xiph.org/flac/index.html to create flac |
| 76 |
faac - http://www.audiocoding.com to create m4a (aac) |
| 77 |
mp4als - http://packman.links2linux.org/package/mp4als/105353 |
| 78 |
musepack - http://www.musepack.net to create mpc (mpp) |
| 79 |
wavpack - http://www.wavpack.com/ |
| 80 |
ffmpeg - http://ffmpeg.org/ |
| 81 |
|
| 82 |
* CD-Data-Bank software to retrieve CD information: |
| 83 |
CDDB_get perl module v2.27 or later - http://armin.emx.at/cddb/ |
| 84 |
To install: |
| 85 |
-) login as root and connect to the internet, then type |
| 86 |
-) perl -MCPAN -e 'install CDDB_get' |
| 87 |
or the perl modules WebService::MusicBrainz to access the |
| 88 |
Musicbrainz.org database for high quality entries. One needs the |
| 89 |
discid calculation command from |
| 90 |
-) http://musicbrainz.org/doc/libdiscid |
| 91 |
to be installed. Additionally the perl module MusicBrainz::DiscID |
| 92 |
is recommended and will become mandatory in future. |
| 93 |
|
| 94 |
|
| 95 |
Calling RipIT |
| 96 |
------------- |
| 97 |
Depending on the installation, type ripit or ./ripit.pl in the directory |
| 98 |
where ripit.pl resides. |
| 99 |
|
| 100 |
|
| 101 |
Configuring RipIT |
| 102 |
----------------- |
| 103 |
A config file is located in $HOME/.ripit or /etc/ripit. It can be edited |
| 104 |
using options --savenew or --save, or preferably with an editor instead |
| 105 |
of passing all parameters on the command-line. |
| 106 |
|
| 107 |
Of course, being a perl programer, one can easily configure anything in |
| 108 |
the program. Please inform the maintainer if some improvements have been |
| 109 |
made. The e-mail address is given at the bottom of this file. |
| 110 |
|
| 111 |
|
| 112 |
Setting the Templates |
| 113 |
--------------------- |
| 114 |
The dirtemplate and tracktemplate contain the format of the directory |
| 115 |
and filename for the output directory and tracks. |
| 116 |
These variables are later evaluated by RipIT, so one can put any legal |
| 117 |
characters in here (even / for multi-level directories) and any of the |
| 118 |
following variables: |
| 119 |
$album - CD album name |
| 120 |
$artist - CD artist name |
| 121 |
$genre - CDDB genre or the genre passed from command line |
| 122 |
$iletter - initial letter of artist name |
| 123 |
$quality - encoder options (not the arguments of option --quality) |
| 124 |
$suffix - the suffix of the encoded file, i.e. mp3, ogg, flac or aac |
| 125 |
$tracknum - number of the current track |
| 126 |
$trackname - name of the current track |
| 127 |
$trackno - total number of tracks of current disc |
| 128 |
$year - CDDB year or the year passed from command line. |
| 129 |
|
| 130 |
Additionaly the tracktemplate allows two more variables helpful in case |
| 131 |
VA-style is detected: |
| 132 |
|
| 133 |
$trackartist - name of track artist |
| 134 |
$tracktitle - pure track name part. |
| 135 |
|
| 136 |
|
| 137 |
The '" and "' are mandatory and must surround the template. |
| 138 |
|
| 139 |
Example tracktemplate: |
| 140 |
--tracktemplate='"$tracknum - $trackname"' |
| 141 |
would produce: 07 The Game, the default setting. |
| 142 |
|
| 143 |
Example dirtemplate: |
| 144 |
--dirtemplate='"/$iletter/$artist $genre/$year - $album"' |
| 145 |
would produce a "3-level" directorytree: |
| 146 |
.../S/Swandive Trip-Hop/1997 - Intuition/ |
| 147 |
The default is: '"$artist - $album"' |
| 148 |
|
| 149 |
The dirtemplate-option is now an array and may be stated more than once |
| 150 |
in the same order as the encoders passed to option --coder, i. e. for |
| 151 |
each encoder one can give one dirtemplate. If less dirtemplates than |
| 152 |
encoders are stated, the last dirtemplate will be used for subsequent |
| 153 |
encoders and the wav-directory. |
| 154 |
|
| 155 |
|
| 156 |
Using RipIt |
| 157 |
----------- |
| 158 |
Insert an audio CD and type "ripit" or "./ripit.pl" as mentioned above. |
| 159 |
The program will then merrily go away and rip/encode the whole audio CD |
| 160 |
unless it encounters a problem. |
| 161 |
|
| 162 |
First the album/artist/track/genre/year/category(CDDB) information is |
| 163 |
retrieved from a CD-DB via the internet. If not connected to the internet |
| 164 |
or no CDDB entry is found, Ripit will first try to read CD-Text if |
| 165 |
present and finally be prompted to choose either if the tracks shall be |
| 166 |
ripped with default names or manually entered names, except if the |
| 167 |
option --nointeraction was passed. Note that in case the |
| 168 |
box is offline, the respond of the CDDB_get perl-module may take some |
| 169 |
time, be patient. |
| 170 |
With the option --archive, RipIT also checks for local CDDB entries on |
| 171 |
the machine in the $HOME/.cddb directory. |
| 172 |
Then one will be asked to make a CDDB submission or correct an existing |
| 173 |
data-set. In the second case, one can confirm the CDDB settings with |
| 174 |
Enter. Submission to [email protected] is gruanted, if at least |
| 175 |
one single entry is changed and if sendmail works. In this way it is |
| 176 |
very easy to correct a simple typo somewhere in the DB-entry. |
| 177 |
It is not yet possible to edit data from MusicBrainz while running |
| 178 |
Ripit. But Ripit displays the URL needed to enter data if a DISCID gave |
| 179 |
no match. |
| 180 |
If one told RipIT not to be connected to the internet (using option |
| 181 |
--nosubmission), the file cddb.toc will be saved in the $HOME-directory, |
| 182 |
and can later be submitted. |
| 183 |
But even with option --nosubmission RipIT will try to do a CDDB lookup, |
| 184 |
and if it finds something, one only has to edit the entry, i. e. this |
| 185 |
option only prevents to send the file directly and overwrite the public |
| 186 |
entry! Be aware that the subject of the e-mail must be exactly as |
| 187 |
displayed by RipIT. |
| 188 |
|
| 189 |
The sound files will be put into a directory with the format according |
| 190 |
to the directory template(s), default setting is: |
| 191 |
$outputdir/$artist - $album/ with the track name consisting of the track |
| 192 |
number and songname (or whatever is specified in the track template). |
| 193 |
|
| 194 |
The sound files will automatically be (id3-) tagged. The tagging is |
| 195 |
performed by the encoders, Lame uses both id3v1 & id3v2. |
| 196 |
|
| 197 |
The following options are available: |
| 198 |
|
| 199 |
ripit [--device|d cd-device] [--scsidevice path] [--outputdir|o path] |
| 200 |
[--dirtemplate '\"\$parameters\"'] [--chars|W [list]] |
| 201 |
[--tracktemplate '\"\$parameters\"'] [--trackoffset number] |
| 202 |
[--addtrackoffset] [--dpermission number] [--fpermission number] |
| 203 |
[--overwrite argument] [--resume|R] [--inputdir path] [--rip] |
| 204 |
[--ripper|r cdripper] [--ripopt ripper-options] [--offset number] |
| 205 |
[--nicerip number] [--disable-paranoia|Z] [--wav|w] |
| 206 |
[--verify|Y number] [--accuracy|Q number] [--flacdecopt options] |
| 207 |
[--ghost|G] [--extend seconds] [--prepend seconds] [--cdid id] |
| 208 |
[--quitnodb value] [--encode] [--coder|c encoders] [--musenc cmd] |
| 209 |
[--faacopt options] [--flacopt options] [--oggencopt options] |
| 210 |
[--lameopt options] [--mp4alsopt options] [--museopt options] |
| 211 |
[--wavpacopt options] [--ffmpegopt options] [--ffmpegsuffix suffix] |
| 212 |
[--quality qualities-list] [--bitrate|b rate] |
| 213 |
[--maxrate|B rate] [--vbrmode|v old or new] [--preset|S mode] |
| 214 |
[--vatag number] [--vastring string or regular expression] |
| 215 |
[--comment id3-comment] [--genre|g genre-tag] [--year|y year-tag] |
| 216 |
[--mp3gain| cmd options] [--vorbgain| cmd options] |
| 217 |
[--flacgain| cmd options] [--aacgain| cmd options] |
| 218 |
[--mpcgain| cmd options] [--wvgain| cmd options] |
| 219 |
[--lowercase|l number] [--underscore|u] [--uppercasefirst] |
| 220 |
[--utftag|U] [--mb] [--mbrels| number] [coverorg| number] |
| 221 |
[--coverart list] [--coverpath path] [--coversize|F format] |
| 222 |
[--copycover path] [--mp3tags FRAME=tag or FRAME=[desciption]tag] |
| 223 |
[--falctags FRAME=tag] [--oggtags FRAME=tag] [--proxy|P path] |
| 224 |
[--mbname MB-login] [--mbpass MB-password] [--isrc number] |
| 225 |
[--cddbserver|C server] [--mirror|m mirror] [--protocol|L level] |
| 226 |
[--transfer|t cddb or http] [--submission|s] [--cdtext|number] |
| 227 |
[--mail|M address] [--mailopt options] |
| 228 |
[--eject|e] [--ejectcmd command] [--ejectopt options for command] |
| 229 |
[--lcd] [--lcdhost host] [--lcdport port] |
| 230 |
[--config] [--confdir] [--confname] [--save] [--savenew] |
| 231 |
[--sshlist remote hosts] [--local] [--scp] [--threads numbers] |
| 232 |
[--archive|a] [--playlist|p number] [--infolog path] [--md5sum] |
| 233 |
[--cdtoc number] [--inf number] [--cdcue number] |
| 234 |
[--loop number] [--verbose|x number] |
| 235 |
[--normalize|N] [--normcmd] [--normopt|z options] |
| 236 |
[--interaction|i] [--nice|n adjustment] [--halt] |
| 237 |
[--help|h] [--version|V] [--precmd cmd] [--execmd|X cmd] |
| 238 |
[--book|A number] [--merge list] [--span|I span] [track_selection] |
| 239 |
|
| 240 |
|
| 241 |
[track_selection] - Tracks to rip from. If not specified all tracks |
| 242 |
will be ripped. One can also specify a single |
| 243 |
track by using a single number, or a selection |
| 244 |
of tracks using numbers separated by commas or |
| 245 |
hyphens, i.e. 2,6,10, or 3,5,7-9 . |
| 246 |
Using a number followed by a comma or hyphen |
| 247 |
will rip from that track to the end of the CD |
| 248 |
i.e. 3,5- rips track 3 and from track 5 to the |
| 249 |
last one. |
| 250 |
The string 1-a will rip only audio tracks and |
| 251 |
omit data tracks if detected. Default: not set |
| 252 |
--merge ordered list of comma separated intervals |
| 253 |
Place a hyphen or a + between first and last |
| 254 |
tracknumber to be merged. Separate several |
| 255 |
intervals with a comma. Default: not set |
| 256 |
-I, --span start-endtime - Define an interval to be ripped when using |
| 257 |
cdda2wav or cdparanoia. The hyphen is |
| 258 |
mandatory. |
| 259 |
The format of start and end-time is according |
| 260 |
to cdparanoia hh:mm:ss.ff in |
| 261 |
hours/minutes/seconds/frames. Zero fields |
| 262 |
need not be specified, the value of seconds |
| 263 |
may be larger than 60. When using cdda2wav |
| 264 |
this option translates the values to the |
| 265 |
\-o and \-d options. When using option merge, |
| 266 |
endtime is related to the last track in the |
| 267 |
selection. Default: not set. |
| 268 |
--outputdir directory - Where the sound should go. If not set, $HOME |
| 269 |
will be used. Default: not set. |
| 270 |
--dpermission number - Define directory permissions, default: 0755. |
| 271 |
--fpermission number - Define permissions of sound and log files, |
| 272 |
default: not set, i.e. depending on the system |
| 273 |
settings, usually 0644. |
| 274 |
--device cddevice - Path of audio CD device, default: /dev/cdrom. |
| 275 |
--scsidevice cddevice - Devicename for a different device node of cddevice |
| 276 |
where non ripping commands shall be executed. |
| 277 |
--ripper ripper - CDripper to use, 0 - dagrab, 1 - cdparanoia, |
| 278 |
2 - cdda2wav, 3 - tosha, 4 - cdd, default: 1. |
| 279 |
--ripopt options - Options for audio CD ripper. |
| 280 |
--offset number - Give a sample offset for the ripper. Option |
| 281 |
only supported by cdparanoia and rip |
| 282 |
(Morituri). Default: not set. |
| 283 |
-Q, --accuracy number - Check rips at AccurateRip using Morituri |
| 284 |
(rip) which must be installed. |
| 285 |
Default: off (0). |
| 286 |
-Y, --verify number - Only when using cdparanoia, rip track until |
| 287 |
md5sum for 2 rips match, maximum tries is |
| 288 |
number given as arguement, default: 1, i.e. |
| 289 |
no checks will be done. |
| 290 |
--nicerip value - Set niceness of ripping process, default: 0. |
| 291 |
--disable-paranoia [number] |
| 292 |
- When using dagrab, the number of retries will be |
| 293 |
set to 3, with cdparanoia this option is equal |
| 294 |
to the -Z option. Usefull for faster ripping, |
| 295 |
not recommended. This option accepts an argument: |
| 296 |
The number can be set to 0 (paranoia on), to 1 |
| 297 |
(paranoia off) or to 2 to switch paranoia off if |
| 298 |
a track fails or gets a timeout. RipIT will retry |
| 299 |
that failed track without paranoia or give up. |
| 300 |
Ripping will then continue with paranoia on. |
| 301 |
Default: 0 - off, i.e. paranoia mode on. |
| 302 |
--ghost - Analyze wav and split into possible chunks of |
| 303 |
sound or try to trim lead-in/out. This may |
| 304 |
overrided option merge. Delete blank tracks if |
| 305 |
only silence ("zero bytes") are found. |
| 306 |
Default: off. |
| 307 |
--extend seconds - Enlarge splitted chunk by number of seconds |
| 308 |
if possible, or track may be trimmed if value is |
| 309 |
small (e.g. 0.2), use with caution! Default 2.0. |
| 310 |
--prepend seconds - Enlarge splitted chunk by number of seconds |
| 311 |
if possible, or track may be trimmed if value is |
| 312 |
small (e.g. 0.2), use with caution! Default 2.0. |
| 313 |
--coder encoder - Encoder to use, 0 - Lame, 1 - Oggenc, |
| 314 |
2 - Flac, 3 - Faac, comma separated list! |
| 315 |
E.g. --coder 2,0,1 --quality 3,4,5 will set |
| 316 |
Flac-quality to 3, Lame-quality to 4 and Oggenc- |
| 317 |
quality to 5. |
| 318 |
--lameopt options - Pass other options to the encoder, quote them |
| 319 |
with double quotes if needed; semicolon seperat- |
| 320 |
ed list if same enocder is used more than once. |
| 321 |
Default: not set. |
| 322 |
--oggencopt options - More user defined options for Oggenc, see above. |
| 323 |
--flacopt options - More user defined options for Flac, see above. |
| 324 |
--flacdecopt options - Additional options for flac when used to |
| 325 |
decode flacs. Might be needed to force (over) |
| 326 |
writing existing wav files: Default: -s (silent) |
| 327 |
--faacopt options - More user defined options for Faac, see above. |
| 328 |
--museopt - More user defined options for Faac, see above. |
| 329 |
--mp4alsopt - More user defined options for Faac, see above. |
| 330 |
--wavpacopt - More user defined options for Faac, see above. |
| 331 |
--ffmpegopt - More user defined options for Faac, see above. |
| 332 |
--ffmpegsuffix suffix - Suffix of the choosen encoder in ffmpeg, a |
| 333 |
comma sparated list; default: not set. |
| 334 |
--quality quality - Comma separated list in the same order than the |
| 335 |
list of encoders passed! |
| 336 |
Quality for oggenc (1-10) highest = 10; |
| 337 |
or compression level for Flac (0-8), |
| 338 |
lowest compression = 0; or quality for Lame |
| 339 |
in vbr mode (0-9), best quality = 0. |
| 340 |
The qualitiy can be turned off with the |
| 341 |
argument "off" not to interfer with different |
| 342 |
specific encoder options. Default: 5,3,5,100,0,5. |
| 343 |
No quality for wavpack and ffmpeg, use options |
| 344 |
instead. |
| 345 |
--vbrmode mode - Variable bitrate, only used with Lame, mode is |
| 346 |
new or old, see Lame manpage. The Lame-option |
| 347 |
quality will be changed to -V instead of -q if |
| 348 |
vbr-mode is used; default: not set. |
| 349 |
--bitrate rate - Encode mp3 at this bitrate for Lame. If option |
| 350 |
--vbrmode used, bitrate is equal to the -b |
| 351 |
option, so one might want to set it off, |
| 352 |
default 128. |
| 353 |
--maxrate rate - maxrate (Bitrate) for Lame using --vbrmode is |
| 354 |
equal to the -B option for Lame or the -M option |
| 355 |
for Oggenc, default: 0. |
| 356 |
--preset mode - Use the preset switch when encoding with Lame. |
| 357 |
With otpion --vbrmode new --preset fast will be |
| 358 |
used. Default: off. |
| 359 |
--chars [list] - Exclude characters in filenames and directories |
| 360 |
but not in tags. The argument is optional. |
| 361 |
Following characters will be erased, if no |
| 362 |
argument stated: \:*?$ plus begining and ending |
| 363 |
blanks and periods. This is identical to |
| 364 |
argument "NTFS". Passing "HFS" as arguement will |
| 365 |
result in deleting colons plus begining blanks |
| 366 |
and periods. Or use any list of chracters one |
| 367 |
wants to purge. Note that on the command line |
| 368 |
they probably need to be escaped. Use argument |
| 369 |
"off" to switch option off. Default off. |
| 370 |
if your configuration supports it. |
| 371 |
--comment comment - Specify a comment (mp3, m4a), or a description |
| 372 |
tag (ogg, flac). To write the cddbid used for |
| 373 |
freedb or the MusicBrainz discid into the |
| 374 |
comment, use the word "cddbid" or "discid". |
| 375 |
Default: not set. |
| 376 |
--genre genre - Specify (and override CDDB) genre, must be a |
| 377 |
valid ID3-genre name if using Lame, can (but |
| 378 |
shouldn't) be anything if using other encoders. |
| 379 |
Default: not set. |
| 380 |
--year year - Specify (and override CDDB) year (mp3, m4a) or a |
| 381 |
date tag (ogg, flac). Default: not set. |
| 382 |
--coverart number - a comma seperated list of numbers (if several |
| 383 |
encoders are used) according to option --coder |
| 384 |
with values 0 (no) or 1 (yes), default 0. |
| 385 |
--coverpath path - Path to the coverart picture to be included in |
| 386 |
the metadata of the sound files. The picture |
| 387 |
must be present or e.g. acquired using the |
| 388 |
--precmd option. Default: not set. |
| 389 |
--coverorg number |
| 390 |
Retrieve coverart from coverartachive.org. |
| 391 |
Possible values 0 (no) or 1 (yes), default 0. |
| 392 |
--copycover path - Copy an image or any other file to all |
| 393 |
directories containing encoded files. Value: |
| 394 |
absolute path to file. Default: not set. |
| 395 |
-F --coversize format |
| 396 |
Resize coverart pictures to be included in the meta data |
| 397 |
of the sound files to a XXXxYYY format. To ensure aspect |
| 398 |
ratio, only the width can be stated, default: not set. |
| 399 |
--flactags FRAME=tag - Special frames to be added to the flac file |
| 400 |
with meta data provided e.g. when using MB. |
| 401 |
Use option --flacopt for regular hard coded |
| 402 |
tags to be added. Use this option to add |
| 403 |
following frames: ASIN, BARCODE, CDDID and |
| 404 |
DISCID with tag names in lower case. Default: |
| 405 |
not set. |
| 406 |
--mp3tags FRAME=tag or FRAME=[description]tag |
| 407 |
Additional frames to be added to the mp3 file |
| 408 |
if encoder does not support the frame or if |
| 409 |
some unofficial FRAMEs shall be used. |
| 410 |
More than one --mp3tags can be used if |
| 411 |
several tags shall be added. Special tags to |
| 412 |
TXXX or WXXX frame need an description and in |
| 413 |
case stated with special description and tag |
| 414 |
names get evaluated. Special descriptions are |
| 415 |
ASIN, BARCODE, CDDID, DISCID with tag names |
| 416 |
in lower case. Default: not set. |
| 417 |
--oggtags FRAME=tag - Same as flactags, default: not set. |
| 418 |
--vatag number - Analyze tracknames for "various artists" |
| 419 |
style and split the metadata in case one of |
| 420 |
the delimeters (colon, hyphen, slash or |
| 421 |
parenthesis) are found. Use unpair numbers |
| 422 |
for the scheme "artist ? tracktitle" and pair |
| 423 |
numbers in the opposite case. Default: not set. |
| 424 |
--vastring string - A string (regular expression) that defines |
| 425 |
the "various artists" style, default: |
| 426 |
\bVA\b|Variou*s|Various\sArtists |
| 427 |
--dirtemplate '" foo $parameters "' |
| 428 |
- Use single and double quotes to pass the |
| 429 |
templates! Allowed are following parameters: |
| 430 |
$album, $artist, $genre, $iletter, $quality, |
| 431 |
$suffix, $trackname, $tracknum $year and |
| 432 |
$trackno (total number of tracks), e.g. |
| 433 |
'"/$suffix/$iletter/$artist - $year"' |
| 434 |
(default dirtemplate: '"$artist - $album"'), |
| 435 |
(default tracktemplate: '"$tracknum $trackname"'). |
| 436 |
More than one --dirtemplate allowed, depending |
| 437 |
on the numbers of encoders. |
| 438 |
--tracktemplate '" foo $parameters "' |
| 439 |
--trackoffset number - Use an offset to be added to \$tracknum, default 0. |
| 440 |
--addtrackoffset - With MusicBrainz check for multi disc release |
| 441 |
and use offset if found, default off. |
| 442 |
--sshlist list - Comma separated list of remote machines where |
| 443 |
RipIT should encode. The output path must be |
| 444 |
the same for all machines. Specify the login |
| 445 |
(login@machine) only if not the same for the |
| 446 |
remote machine. Else just state the machine |
| 447 |
names. See EXAMPLES-section of manpage for more |
| 448 |
information. Default: not set. |
| 449 |
--scp - If fs can not be mounted on (remote) machine(s), |
| 450 |
use scp to copy wavs to remote machines. |
| 451 |
Not redommended. Default: not set. |
| 452 |
--local - Only used with option --sshlist; if all |
| 453 |
encodings shall be done on remote machines, use |
| 454 |
--nolocal, default: on. |
| 455 |
-C --mb - Access MusicBrainz DB via |
| 456 |
WebService::MusicBrainz module instead of the |
| 457 |
http protocol (see below). One needs the |
| 458 |
discid calculation tool to be installed and |
| 459 |
in the path. Default: off. |
| 460 |
--mbrels number |
| 461 |
Check each track for additional relationships, only vocal |
| 462 |
and work realtionships are handled. Possible values 0 (no) |
| 463 |
or 1 (yes), default 0. |
| 464 |
--mbname login - Give MusicBrainz login name to submitt ISRCs |
| 465 |
to the database. Saved in plain when using a |
| 466 |
config. Default not set. |
| 467 |
--mbpass password - Give MusicBrainz password to submitt ISRCs to |
| 468 |
the database. Saved in plain when using a |
| 469 |
config. Default not set. |
| 470 |
--cdtext number - Check for CD text if no DB entry found, |
| 471 |
default: 0 - off. |
| 472 |
--isrc number - Enable ISRC detection and submission to MB; |
| 473 |
default: 0. |
| 474 |
--cddb server - CDDB server, either freedb.org, freedb2.org or |
| 475 |
musicbrainz.org. Default freedb.org. Note, the |
| 476 |
full address is mirror.freedb.org, i. e. default |
| 477 |
is freedb.freedb.org. Exception: freedb2.org and |
| 478 |
musicbrainz.org have no mirrors, their full |
| 479 |
addresses are: freedb2.org and |
| 480 |
freedb.musicbrainz.org on port 80 (see transfer |
| 481 |
mode). |
| 482 |
--mirror mirror - Choose "freedb" or one of the freedb.org |
| 483 |
mirrors, default: freedb. For more information |
| 484 |
check the webpage www.freedb.org. There is no |
| 485 |
list of mirrors available these days. This |
| 486 |
option might be obsolet as freedb uses random |
| 487 |
servers, but the default setting is mandatory. |
| 488 |
--transfer mode - Transfer mode, cddb or http, will set |
| 489 |
default port to 8880 or 80 (for http), default: |
| 490 |
cddb. Note: use http mode with CDDB servers |
| 491 |
freedb2.org or musicbrainz.org. |
| 492 |
--protocol level - The CDDB protocol level for CDDB query. Level 6 |
| 493 |
supports UTF-8 and level 5 not. Default: 6 |
| 494 |
--proxy address - The http proxy to use when accessing the cddb |
| 495 |
server. The CDDB protocol must be http! Default: |
| 496 |
not set. |
| 497 |
--nice value - Set niceness of encoding process, default 0. |
| 498 |
--nicerip value - Set niceness of ripping process, default 0. |
| 499 |
--archive - Read and save CDDB files in the directory |
| 500 |
$HOME/.cddb/"category". Default: off. |
| 501 |
--eject - Ejects the CD when finished, default off. |
| 502 |
--ejectcmd command - The command to use for ejecting CD (see --eject) |
| 503 |
Default: eject. |
| 504 |
--ejectopt options - Arguments to the ejecting CD command (see |
| 505 |
--ejectcmd), default: path of CD device. |
| 506 |
--quitnodb value - Give up CD if no CDDB entry found. |
| 507 |
Useful if option --loop or --nointeraction are on. |
| 508 |
Default behaviour is to let operator enter data or |
| 509 |
to use default artist, album and track names. |
| 510 |
Possible values: 0 - off, 1 - on, default: off |
| 511 |
--halt - Powers off the machine when finished if the |
| 512 |
configuration supports it. |
| 513 |
--submission - Specify --nosubmission if the machine is offline |
| 514 |
and the created file cddb.toc shall be saved |
| 515 |
in $HOME instead of being submitted. With option |
| 516 |
--archive the data will also be saved in the |
| 517 |
$HOME/.cddb directory. |
| 518 |
--mail address - Users return e-mail address, needed to submit a |
| 519 |
CDDB entry. Default: not set. |
| 520 |
--mailopt options - Special options to sendmail program, default: -t |
| 521 |
--playlist number - Create the m3u playlist file, or use --playlist |
| 522 |
0. For filenames without paths use --playlist 2. |
| 523 |
Default: 1 - on. |
| 524 |
-A, --book number - Create an audiobook file, i. e. merge all tracks |
| 525 |
into one sinlge file, option --ghost will be |
| 526 |
switched off and file suffix will be m4b |
| 527 |
instead of m4a. Make sure to use encoder faac, |
| 528 |
ripit will no check that. The installed version |
| 529 |
must support the \-w option to write tags. A |
| 530 |
chapter file will be written for chapter marks. |
| 531 |
Default: off |
| 532 |
--interaction - Specify --nointeraction if ripit shall take |
| 533 |
the first CDDB entry found and rip without any |
| 534 |
questioning, default: on. |
| 535 |
--lcd - Use lcdproc to display status, default: not set. |
| 536 |
--lcdhost host - Set host address for lcdproc, default: localhost. |
| 537 |
--lcdport port - Set port address for lcdproc, default 13666. |
| 538 |
--infolog path/file - Log operations (system calls, file/directory |
| 539 |
creation) to file, given with full path; |
| 540 |
default: not set. |
| 541 |
--lowercase number - Lowercase filenames and or directories (from |
| 542 |
tracktemplate and dirtemplate): number n = 0, |
| 543 |
off, 1, on for filenames and direcotries, 2, |
| 544 |
only for filenames, 3, only for directories, |
| 545 |
default: off. |
| 546 |
--underscore - Use _ instead of spaces in filenames, default: |
| 547 |
off. |
| 548 |
--utftag - If negated decodes Lame-tags to ISO8859-1. |
| 549 |
Default off. |
| 550 |
--rip - Rip the CD, to be used as --norip if wavs of |
| 551 |
flacs are present in --inputdir. Default: on. |
| 552 |
--inputdir directory - Full path to the directory with wav or flac |
| 553 |
files to be reencoded using option --norip. |
| 554 |
Default: not set. |
| 555 |
--cdid id - Give a freedb.ord CDDBID or a musicbrainz |
| 556 |
discid in case lookup shall be done when |
| 557 |
reencoding wav or flac files using --norip. |
| 558 |
Default: not set. |
| 559 |
--encode - Prevent encoding (generate only wavs) with |
| 560 |
--noencode. Default: on. |
| 561 |
--wav - Keep the wav files, default: off. |
| 562 |
--normalize - Normalize the wav files, default: off. |
| 563 |
--normcmd - Command to use for normalizing, default: |
| 564 |
normalize. |
| 565 |
--normopt options - Options passed to normalize, default: -b. |
| 566 |
Option v (q) will be set according to verbosity. |
| 567 |
--cdtoc number - Create a cd.toc for CDRDAO (1 yes, 0 no), |
| 568 |
default: 0 - off. |
| 569 |
--inf number - Create inf files for wodim (1 yes, 0 no), |
| 570 |
default: 0 - off. |
| 571 |
--help - Print a short manpage, default: not set. |
| 572 |
--version - Print version and exit, default: not set. |
| 573 |
--verbose number - Verbosity: Run silent (0), with minimal (1), |
| 574 |
normal without encoder msgs (2), normal (3), |
| 575 |
verbose (4) or extremly verbose (5). Default 3 |
| 576 |
--config - Read the config file or use --noconfig, |
| 577 |
default on. |
| 578 |
--save - Add parameters passed on command line to |
| 579 |
config file. An existing config file will be |
| 580 |
updated and saved in config.old! Default: not set. |
| 581 |
--savenew - Save only parameters passed on command line to |
| 582 |
a new config file. An existing config file will |
| 583 |
be saved in config.old! Default: not set. |
| 584 |
--loop - Continue ripping and encoding as soon as a new |
| 585 |
CD is inserted. This option implies that the CD |
| 586 |
is ejected when done. |
| 587 |
--resume - Resume a previously started session. Default: |
| 588 |
not set. |
| 589 |
-O, --overwrite argument |
| 590 |
- Overwrite existing rip (y), quit if directory exists (q) |
| 591 |
or force ejection of disc if directory exists (e). Default |
| 592 |
off (n), do not overwrite existing directories, use a |
| 593 |
directory name with a suffix instead. |
| 594 |
--md5sum - Create a MD5-sum file for each type of sound |
| 595 |
files. Default: not set. |
| 596 |
--threads number - Comma separated list of numbers giving maximum |
| 597 |
of allowed encoders to run at the same time. |
| 598 |
First number for the local machine. Default: 1. |
| 599 |
--execmd command - State a command to be executed when ripit finshed. Make |
| 600 |
sure to escape the command if needed. Default: not set. |
| 601 |
--precmd command - State a command to be executed when ripping starts. Make |
| 602 |
sure to escape the command if needed. Default: not set. |
| 603 |
|
| 604 |
|
| 605 |
Program Notes |
| 606 |
------------- |
| 607 |
Most of the output to the screen is produced by the cdripper program. |
| 608 |
The encoder output goes to a log-file, since it's important not to |
| 609 |
clutter the cdripper output. After each track ripped, the encoder |
| 610 |
messages will be displayed, depending on verbosity. |
| 611 |
|
| 612 |
The output can be switched off with option --verbose 0. |
| 613 |
|
| 614 |
For questions about the LCDproc feature, please contact max.kaesbauer |
| 615 |
[at] gmail [dot] com. |
| 616 |
|
| 617 |
The encoding is started as a separate thread from the rest of the |
| 618 |
program so that the encoder works in the background as the cdripper is |
| 619 |
working. This is not the case if normalize is used. |
| 620 |
|
| 621 |
|
| 622 |
Historical Original Author's Comment |
| 623 |
------------------------------------ |
| 624 |
This is my first bit of perl code and I've only spent a few days writing |
| 625 |
it so I hope you won't be too critical. I wish I had got around to |
| 626 |
learning perl much earlier as it is a very powerful but easy to use |
| 627 |
language. |
| 628 |
|
| 629 |
I would be grateful for any suggestions on how to improve the code or |
| 630 |
write better perl. |
| 631 |
|
| 632 |
Why did I write this when there are so many other CD ripper front ends? |
| 633 |
There are some very good Linux programs out there that all do similar |
| 634 |
things but none of them did exactly what I wanted, which spurred me into |
| 635 |
writing this and at the same time learn perl. |
| 636 |
|
| 637 |
|
| 638 |
Cheers |
| 639 |
Simon Quinn, Lancashire, UK |
| 640 |
|
| 641 |
|
| 642 |
Other maintainers |
| 643 |
----------------- |
| 644 |
|
| 645 |
Mads Martin Jørgensen, Odense, Denmark |
| 646 |
|
| 647 |
|
| 648 |
Historical Felix Suwald's Comment |
| 649 |
--------------------------------- |
| 650 |
The main changes when I started with the 300 line code were: |
| 651 |
1) one can use hyphens (-) in track selection. I missed it, because I |
| 652 |
often have audio CDs with a data (video) track in the end, so I |
| 653 |
wanted to avoid failure at ripping that last one! |
| 654 |
Now, one can enter 1-10 instead of 1,2,3,4,5,6,7,8,9,10. You even may |
| 655 |
mix commas and hyphens: 1,3-5,9- . |
| 656 |
2) As mentioned in "Using RipIt", I excpected ripit to do the job if the |
| 657 |
box is off-line, but it did not work with me... now it should work! |
| 658 |
3) As mentioned in "Using RipIt", I also excpected ripit to do the job |
| 659 |
if no parameters are given. This did not work, but should work now! |
| 660 |
4) I wanted to submit new CDDB entries to freedb.org. After using RipIT |
| 661 |
I did not want to re-enter the data in grip, kscd or whatever. |
| 662 |
Now it should work with RipIT. |
| 663 |
If your submission is not OK, it will be returned to the e-mail |
| 664 |
address one entered. Edit it and resubmit it. |
| 665 |
5) I never could remember the genre numbers for id3v2 tags. Now you |
| 666 |
can enter (a part of) the genre name, and if there are several |
| 667 |
possibilities, then you will be prompted to choose the one you want. |
| 668 |
|
| 669 |
See HISTORY-file for a more detailed change-log. Thanks to all testers |
| 670 |
and those who send me feedback or feature requests. Please specify a |
| 671 |
subject more concise than "RipIT" when sending a mail and state the |
| 672 |
version you use, thanks. |
| 673 |
|
| 674 |
Cheers |
| 675 |
Felix Suwald, Zürich, Switzerland |
| 676 |
|
| 677 |
Please send bugs/comments/wishes to: ripit[_æt_]suwald[_ðöt_]com with a |
| 678 |
explanatory subject with the version you use (not only "RipIT"). Your |
| 679 |
config file is also welcome. |