Skip to content

Ripping on Linux

Make sure to install the latest version of Whipper for your distribution.

Tip

Skip to Ripping if you already have everything setup and wish to skip to the ripping part of the guide.

Setup

The following should be done once when setting up the program.

  1. Configure drive settings.

    1
    2
    3
    4
    $ whipper drive analyze
    
    INFO:whipper.command.drive:cdparanoia can defeat the audio cache on this drive
    INFO:whipper.command.drive:adding drive cache behaviour to configuration file
    
  2. Insert the most popular disc you own in the drive and configure AccurateRip.

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    $ whipper offset find
    
    INFO:whipper.command.offset:checking device /dev/sr0
    Track 1 finished, found 5 Q sub-channels with CRC errors
    Track 2 finished, found 18 Q sub-channels with CRC errors
    INFO:whipper.command.offset:trying read offset 6...
    INFO:whipper.command.offset:offset of device is likely 6, confirming...
    
    Read offset of device is: 6.
    INFO:whipper.command.offset:adding read offset to configuration file
    

Tip

If the offset could not be configured, find the offset for your drive from the AccurateRip Drive Offsets page and manually set read_offset = [num] in whipper.conf.

Possible locations for whipper.conf include:

  • $XDG_CONFIG_HOME/whipper/whipper.conf
  • ~/.config/whipper/whipper.conf
  • ~/snap/whipper/...

Ripping

Insert a disc and start ripping.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
$ whipper cd rip

INFO:whipper.command.cd:using configured read offset 6
INFO:whipper.command.cd:checking device /dev/sr0
CDDB disc id: 1303e803
MusicBrainz disc id EnkfN07oqHBl9RvvfY7LTcZoa_U-
MusicBrainz lookup URL https://musicbrainz.org/cdtoc/attach?toc=1+3+75204+150+25647+47289&tracks=3&id=EnkfN07oqHBl9RvvfY7LTcZoa_U-
Disc duration: 00:16:40.720, 3 audio tracks

Matching releases:

Artist  : Galileo Galilei
Title   : 青い栞
Duration: 00:16:39.960
URL     : https://musicbrainz.org/release/08155df6-e5a8-490c-94bb-509717809864
Release : 08155df6-e5a8-490c-94bb-509717809864
Type    : Single
Barcode : 4547557009446
Cat no  : SECL-975

output directory ./single/Galileo Galilei - 青い栞 is a finished rip

Tip

If the disc is a CD-R, add the --cdr flag.

1
$ whipper cd rip --cdr

Tip

If the disc has multiple matches, specify one with the -R [release_id] flag.

1
$ whipper cd rip -R [release_id]

Abstract

If the release does not exist on MusicBrainz, you can add it yourself.

Postrip


Salty | Created 2021/10/28 | Updated 2021/10/30