RipRight


What is it?

RipRight is a minimal CD ripper for Linux modeled on autorip. It can run as a daemon and will automatically start ripping any CD found in the drive after which the disc will be ejected. Ripping is always to FLAC lossless audio format with tags taken from the community-maintained MusicBrainz lookup service and cover art from Amazon where possible. If a disc is unknown to MusicBrainz, the CD will be ejected without ripping and can also be optionally rejected if cover art cannot be found.

With RipRight, ripping a CD collection is just a matter of feeding your Linux PC each CD in turn and waiting while they are ripped. CDs which are immediately ejected can be checked with the MusicBrainz Picard tool which allows CD identifiers to be uploaded to the website database. Any errors or inaccuracies in the database records can also be edited on the MusicBrainz website.

How it Works

RipRight is built upon the following libraries:

RipRight itself merely manages these libraries to automate ripping and encoding of audio CDs. RipRight uses temporary files and threads to enable multiple tracks to be encoded in parallel with ripping.

Usage

ripright [-d] [-a] [-s] [-r] [-o format] [outpath]

Downloads

RipRight is released as source with a configure script.

The following commands will verify the signature on downloaded files:

$ gpg --recv-keys EBF7AC52
gpg: requesting key EBF7AC52 from hkp server subkeys.pgp.net
gpg: key EBF7AC52: public key "Michael McTernan <Michael.McTernan.2001@cs.bris.ac.uk>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
$ gpg --verify ripright-0.11.tar.gz.sig ripright-0.11.tar.gz
gpg: Signature made Wed 16 Jan 2013 08:04:41 PM GMT using RSA key ID EBF7AC52
gpg: Good signature from "Michael McTernan <Michael.McTernan.2001@cs.bris.ac.uk>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 77C1 9FCA 3734 C864 F68F 332C 4F7B 32E3 EBF7 AC52

The following commands will configure, build and install the software:

$ ./configure
$ make
$ make check
$ make install

The following libraries/packages must also be installed or available, otherwise the configure will fail:

RedHat/FedoraDebian/Ubuntu
flac-devel >= 1.1.4libflac-dev
ImageMagick-devellibmagick-dev, libmagickwand-dev
libcurl-devellibcurl4-gnutls-dev
libdiscid-devellibdiscid0-dev
cdparanoia-devellibcdparanoia-dev

RipRight has been built on Fedora, Ubuntu and CentOS (although flac-devel has to be manually installed on CentOS 5 as the packaged version is too old).

Packages

Pre-built packages for Fedora have been kindly contributed and maintained. These can be found on the Fedora project website.

RipArrange

It's possible that after ripping a number of CDs, you might change your mind about the format string used to layout the FLAC files. In such a case, the RipArrange application can be used to move the FLAC files based on a new format string.

RipArrange is part of the RipRight release and takes the following options:

riparrange [-m|-c|-h] [-f] [-v] [-o format] file.flac ...

The following example command will re-arrange FLAC files found in the current directory, making a new directory structure under /media/newmusic containing hard links to the current files:

riparrange -h -f "/media/newmusic/%Y/%B - %D/%N-%T.flac" *.flac

Find and xargs can be used to call riparrange for files in different directories:

find /media/music/ -name "*.flac" -print0 | xargs -0 riparrange -h -f "/media/newmusic/%Y/%B - %D/%N-%T.flac" *.flac

Licence

RipRight and RipArrange are released under the GNU GPLv2.

Bugs

Bugs, patches, and suggestions can either be emailed directly to me. Since this is hobby project it can take a long time for me to respond, but I try to review every patch and respond to all emails.

References


This page is maintained by Michael McTernan