Preface
A CD can be copied wrong without any sign of it. A scratch, a speck of dust or a worn disc makes the drive misread a few samples, and many drives fill the gap with a guess and carry on. The files play, the track list looks right, and the click or dropout turns up months later, after the disc is back on the shelf or gone.
DiscProof addresses that problem. It's a desktop app that copies audio CDs to FLAC files and checks that every track came off the disc exactly as it was pressed.
It checks in two ways. First, in its default mode, it accepts the audio only when it's sure of every part: two reads that agree, or, on a drive that has shown it reports its own read errors, one read with none reported. Where it isn't sure, it reads again until it is, or reports the spot it couldn't settle. Second, it compares each track with AccurateRip, a database of checksums from other people's copies of the same CD. A match means your copy is identical to theirs, which is about as close to proof as a home copy gets.
Both checks depend on knowing your drive: whether it keeps audio in a cache that would make two reads agree when they shouldn't, and how far its reads are shifted from the true start of the audio. A short test, run once per drive, finds out. Until then, DiscProof uses safe settings that are slower.
Each finished CD becomes an album folder: tagged FLAC files with the cover art, a CUE sheet and a log of how every track was read and verified. If something went wrong, the log says which track and where.
The manual is organized as follows:
- Chapter 1 covers secure ripping: why drives misread, how re-reading and AccurateRip catch it, and what the results mean. Everything else builds on it.
- Chapter 2 installs DiscProof, sets up your drive and chooses where your music goes.
- Chapter 3 follows a CD from the drive to the album folder: identifying the album, choosing a rip mode and ripping.
- Chapter 4 covers checking a rip: the results, the log, and what to do when a track doesn't verify.
- Chapter 5 covers the album folders and tags, and using them with a media server.
- The appendix lists every shortcut, setting, command and status.
If secure ripping is new to you, start with Chapter 1. If you've used a secure ripper before, start with Chapter 2.
1. Secure Ripping
DiscProof doesn't trust a single read of a CD. This chapter explains why, how it checks what the drive returns, and what each result means. The rest of the manual assumes it.
Why a drive misreads without saying so
An audio CD carries error-correction codes, but less than a data CD does, because a player can always guess a missing sample from its neighbours and keep playing. Drives do the same when they copy. A scratch or a speck of dust that the codes can't correct makes the drive fill the gap with a guess, and in most cases nothing tells the program that asked for the audio.
A guess is often inaudible. Sometimes it's a click, a short dropout or a burst of noise. Either way the file is no longer a copy of the disc, and you can't tell by looking at it.
So DiscProof doesn't take the drive's word for it. It reads the disc so that a misread shows up, and then checks the result against copies other people have made.
Two reads that agree
The first check is to read each part of the disc twice and compare. A misread caused by a flaw on the disc rarely comes out the same way twice, so two reads that agree are very likely right. DiscProof accepts the parts that match and keeps working on the rest.
Reading twice only helps if the drive really goes back to the disc. Many drives keep the audio they just read in a cache and answer the second request from it, so the two reads always agree, mistakes included. DiscProof makes the drive read the disc again, usually by reading somewhere else in between, far enough away to push the old audio out of the cache. The drive test in Chapter 2 finds out whether your drive caches audio and how to empty its cache.
When reads disagree
Where two reads differ, DiscProof reads that spot again in rounds of 16 reads. If at least 8 reads in a round agree, that version is accepted. If no round settles it, DiscProof keeps the version it read most often and marks the spot as suspicious: the track may have a flaw there, and the log says where.
The Error recovery quality setting sets how many rounds it tries: 1, 3 or 5 (Low, Medium or High; High is the default). After the first round fails, DiscProof also slows the drive down, since a slower read often gets through a scratch that a fast one doesn't.
While a track is being read again, its status shows Re-reading. A track that needed re-reads but was settled in the end is fine: the re-reads did their job.
Drives that report their own errors
Some drives can say which samples they couldn't read, by returning error flags (called C2 error pointers) with the audio. If those flags can be trusted, there's no need to read everything twice: DiscProof reads once and reads again only where the drive flagged an error. That's much faster.
Not every drive that offers the flags reports errors reliably, and a drive that misses errors would let them through. So DiscProof only trusts the flags after a test with a scratched disc has shown that they catch real errors, and only on a drive that also doesn't cache audio and reads consistently. Until then it reads twice.
The read offset
Drives don't all start reading at exactly the right place. Most return the audio shifted by anywhere from a few samples to over a thousand, always by the same amount for a given drive model. That amount is the drive's read offset.
Even a shift of a thousand samples is a few hundredths of a second, too short to notice. It matters because it changes every sample's position in the file, so a copy made on one drive wouldn't be identical to a copy made on another, and couldn't be checked against other people's copies.
DiscProof corrects for the offset, so every copy comes out as if read by a drive with none. It gets the offset in one of two ways:
- From the AccurateRip drive list, a published list of offsets for many drive models.
- From your own discs. The drive test compares a disc that's in AccurateRip with other people's copies and works out how far your drive is shifted. An offset found this way is adopted once a second, different disc agrees.
Shifting the audio means a few samples at the very start or end of the disc have to come from outside the audio area. Some drives can read there; for the rest, those samples are written as silence. They are almost always silent on the disc anyway, and AccurateRip leaves the first and last few thousand samples of a disc out of its checksums.
AccurateRip: checking against other people's copies
Reading carefully makes a misread much less likely. AccurateRip shows whether one happened.
AccurateRip is a database of checksums: short numbers computed from the audio of each track, sent in by people who ripped the same CD. If your track's checksum is in the database, your copy is identical to theirs, sample for sample. Different people's drives rarely make the same mistake in the same place, so a match is strong evidence that the copy is right.
Each match comes with a confidence: how many submitted copies had that checksum. A confidence of 1 means one other person got the same result; 50 means fifty did.
When a track finishes, its status shows what AccurateRip said:
| Status | Meaning |
|---|---|
| AR ✓ n | The checksum matched, with confidence n. The track is an exact copy. |
| AR ✗ | The database knows this track, but no copy in it matches yours. Usually a misread; Chapter 4 covers what to do. |
| OK | Read without a problem, but AccurateRip couldn't check it: the disc isn't in the database, or it couldn't be reached. |
| Suspicious | At least one spot couldn't be settled by re-reading, or a Paranoid rip's two passes differed. The track may have a flaw. |
A disc that isn't in AccurateRip can still be ripped well: the reading checks still apply. You just have one check instead of two. Chapter 4 covers how to judge such a rip.
Three ways to rip
The Rip button has three modes. They differ in how much reading they do before AccurateRip has its say.
- Secure (the default) reads as this chapter describes: twice, or once on a drive with trusted error flags, and again wherever reads disagree.
- Paranoid does a full Secure rip, plus a complete test pass before it. Each track gets a checksum from both passes, and the two must match; if they don't, the track is marked Suspicious. It takes about twice as long, and it's for a disc you're worried about.
- Burst reads everything once, with no re-reads, and relies on AccurateRip alone to say whether the copy is right. It's the fastest, and it's only worth using on a clean disc that's in AccurateRip. On a disc that isn't, nothing checks the result.
Whatever the mode, the log records how each track was read and what AccurateRip said.
What the checks can't tell you
Two reads that agree are very likely right, not certainly. A flaw that a drive misreads the same way every time would pass the reading check, which is why AccurateRip matters: it compares your copy with copies from other drives. A track that matches AccurateRip is as close to certain as a copy gets. A track that only passed the reading checks is probably right, and the log tells you how hard it was to read.
2. Getting Set Up
Before your first rip you need three things: DiscProof installed, your drive tested, and a folder for your music. This chapter covers all three. Setting up a drive takes a minute or two and is done once per drive.
Install DiscProof
DiscProof runs on Linux and is tested on Fedora with the KDE Plasma desktop. There are no prebuilt packages yet, so
you build it from its source code. Get a copy of the source from https://github.com/DiscProof/discproof, then
choose one of the two ways below.
On Fedora: as an RPM package
The package installs DiscProof for every user on the computer, with its menu entry, its icon and the Plasma action that offers to rip a CD when you insert one.
-
Open a terminal in the folder with the source code.
-
Install the build tools:
sudo dnf install rpm-build pyproject-rpm-macros python3-devel -
Build the package:
scripts/build-rpm.sh -
Install it:
sudo dnf install dist/rpm/RPMS/noarch/discproof-*.noarch.rpm
DiscProof is now in your application menu, under Multimedia.
On any distribution: for your user only
This installs DiscProof in your home folder with pipx, using your distribution's Qt and FLAC packages.
-
Install Qt for Python, the
flacencoder andpipxwith your package manager. On Fedora:sudo dnf install python3-pyside6 flac pipx -
Install DiscProof from the source folder, and add it to your application menu:
pipx install --system-site-packages /path/to/discproof discproof --install-desktop
To take it off the menu again, run discproof --uninstall-desktop.
Check that DiscProof can use your drive
DiscProof talks to the drive directly. On a Plasma desktop you already have permission to do that, and there's nothing to set up.
If you run DiscProof over SSH or on a computer without a desktop, add yourself to the cdrom group, then log out and
back in:
sudo usermod -aG cdrom $USER
Start DiscProof. With no drive connected it shows No CD drive found; a drive you plug in later is picked up on its own. With a drive and no disc it shows Insert an audio CD.
Set up your drive
The drive test finds out the things Chapter 1 explains: whether your drive caches audio, whether its reads line up, whether its error flags can be trusted, and its read offset. Until a drive is tested, DiscProof rips with safe settings: it assumes the drive caches audio, which is slower, and takes the read offset from the AccurateRip drive list if the drive is in it.
Use a commercial CD for the test. Most are in AccurateRip, and a disc that is lets DiscProof confirm the offset.
- Insert an audio CD and wait for DiscProof to read it. A new drive gets an amber banner across the top of the window.
- Click Set up drive in the banner. (For a drive that's already set up, click the gauge icon, Drive setup, in the top bar.)
- Click Start. The test takes a minute or two; each step is listed as it runs.
- Read the results, and check the Read offset (see below).
- Click Save.
The banner goes away, and the line at the bottom of the window shows the drive's offset and whether it caches audio.
What the results mean
| Result | What it tells you |
|---|---|
| Caches audio | No is best. Yes is common and fine as long as the cache can be emptied: the hint says how DiscProof does it. If it says the cache could not be emptied, secure ripping on this drive may be unreliable. |
| Accurate stream | Yes means two reads of the same spot line up exactly. Nearly every modern drive has it. Without it, DiscProof lines reads up itself, which is slower. |
| C2 error pointers | Whether the drive reports its own read errors. Supported isn't enough: they're not trusted until tested with a scratched CD (see below). |
| Overread lead-in/out | Whether the drive can read the few samples just outside the audio area. No is common; those samples are written as silence. |
| AccurateRip drive list | The offset the published list gives for this drive model, and how many people submitted it. A dash means the model isn't in the list. |
| This disc | The offset worked out from the CD in the drive, by comparing it with AccurateRip. |
| Read offset | The offset DiscProof will use, filled in from the two lines above. |
Check the read offset
DiscProof fills in the offset it trusts most:
- When the drive list and the disc agree, the field shows Matches this disc. Save it.
- When the drive isn't in the list, it uses the offset from this disc. Run the test again with a second, different CD (Test again). Once two discs agree, the offset is confirmed.
- When the disc isn't in AccurateRip, the disc can't confirm anything. Use the drive list's offset if there is one, or test with another CD.
You can type a different offset, but there's rarely a reason to: a wrong offset makes every track fail AccurateRip.
Test with a scratched disc, to trust the error flags
If your drive supports C2 error pointers, a test with a lightly scratched CD shows whether they catch real errors. If they do, DiscProof trusts them, and Secure rips get much faster (Chapter 1 explains why).
- Insert a CD with a few light scratches.
- Click the gauge icon, Drive setup, in the top bar.
- Click Test again, then Save.
If the CD reads without errors, the test can't tell, and the flags stay untrusted; try a disc in worse shape. Untrusted flags cost speed, not accuracy.
Choose where your music goes
DiscProof puts each CD in an album folder inside your library. It starts as the Music folder in your home folder.
- Click the gear icon, Settings, in the top bar [Ctrl+,].
- Under Library, click Choose… and pick a folder.
- Click Done.
Settings are saved as soon as you change them.
Under File names is the template that turns album details into folder and file names. The default puts each album
in Album artist/Album (Year)/ with files named 01 - Title.flac. Chapter 5 covers the template and the album
folder.
Try it without a CD
DiscProof has a built-in demo: a simulated drive with a made-up album, which runs without a CD or an internet connection. Its library is a temporary folder that's deleted when you close it, and it doesn't touch your settings.
discproof --demo
The demo disc has a few hard-to-read spots in track 3, which DiscProof re-reads and recovers, and one bad spot in track 5, which it can't. It's a quick way to see every part of Chapter 3 and Chapter 4 before you rip a real CD.
3. Ripping a CD
This chapter follows a CD from the drive to the album folder: DiscProof works out which album it is, you check the details, choose how carefully to read it, and rip. Most CDs need nothing from you but the first and last steps.
Rip a CD
- Insert the CD. DiscProof reads it and looks the album up online, which takes a few seconds.
- Check the album details on the left and the track titles. Fix anything that's wrong (see Edit the album details).
- Click Rip.
The tracks are read one after another, and each one's status changes as it goes. When the rip is done, a results card appears above the track list, and the disc is ejected. Chapter 4 covers what the results mean.
Read the main window
- The top bar shows what DiscProof is doing, the drive it's using (pick another if you have more than one), and buttons to eject the disc, read it again [F5], set up the drive, open this guide [F1] and open Settings [Ctrl+,].
- The album pane on the left has the cover, where the details came from, and the album's details: album artist, album, date, disc number and genre.
- The track list has a row per track, with its title, artist and length. Gap is the silence before the track (its pre-gap), filled in at the start of a rip. Status and CRC fill in as each track is ripped.
- The rip bar at the bottom has the Rip button, and progress while a rip runs.
- The bottom line names the drive, its read offset and whether it caches audio.
How DiscProof identifies an album
When a CD goes in, DiscProof looks it up in this order:
- MusicBrainz, an open music database, by the disc's exact track layout. A disc found this way shows a MusicBrainz badge and Exact disc match. The cover comes from the Cover Art Archive.
- Discogs, another music database, if MusicBrainz doesn't know the disc.
- CD-Text, the album and track names some CDs carry themselves.
If none of them knows the disc, the badge says Manual and the pane says Not found — edit below: type the details in yourself.
Choose between releases
The same album is often pressed more than once: in different countries, years or editions, with the same tracks. When more than one release matches your disc, DiscProof asks which one you have, so the date, label and catalog number in your tags are right.
- The Choose the release dialog opens on its own. (To open it again later, click the matches button in the album pane, for example 2 matches.)
- Compare the barcode and catalog number on each line with the ones printed on your CD's case.
- Click the matching release, then Use this release.
Edit the album details
Everything in the album pane and the track titles can be changed before a rip. What you type goes into the file names and the tags.
- Album details: click a field (Album artist, Album, Date, Genre) and type. The date can be a
year or a full date (
YYYY-MM-DD). - A track title: click it in the track list and type; press Enter to keep it.
- Disc number: for a set of several CDs, see Rip a set of several CDs.
Add or change the cover
The cover is saved as cover.jpg in the album folder and embedded in each file. Below the cover is its size in
pixels.
- Use an image file: drag it from your file manager onto the cover.
- Use an image you copied (from a web page, for example): press Ctrl+V, or click the image icon on the cover, Paste image.
- Rip without a cover: click Remove cover (the × on the cover).
DiscProof scales a large cover down: cover.jpg to at most 1500 pixels a side, the copy inside each file to 1000.
Rip only some tracks
Each track has a checkbox, and a rip only reads the ticked ones. The checkbox at the top of the column ticks or clears them all.
- Clear the checkboxes of the tracks you don't want.
- Click Rip.
Choose a rip mode
The arrow on the right of the Rip button opens the three modes Chapter 1 describes. The one you pick is remembered for later rips, and the button shows it: Rip · Secure.
- Secure for almost everything.
- Paranoid for a disc you're worried about. It reads everything twice over, so it takes about twice as long.
- Burst for a clean disc you know is in AccurateRip, when speed matters.
Watch a rip
Before reading any audio, DiscProof measures each track's pre-gap (Detecting gaps…). Then each track's status goes from Reading to Encoding to its result. Re-reading, in amber, means DiscProof found a spot where two reads differ and is reading it again (Chapter 1).
The strip under each row fills in as the track is read: green where reads agreed at once, amber where re-reads were needed and settled it, red where they didn't. The rip bar shows the track being read, the read speed, the time left and the progress.
- Pause stops reading; Resume carries on where it stopped. Pausing is useful when the drive is noisy or you need the computer for something else.
- Cancel stops the rip. Tracks that were finished stay in the album folder, with a log that says the rip was cancelled.
When the album folder already exists
If you rip a CD a second time, its album folder is already there. DiscProof asks what to do:
- New folder rips into a folder next to it, with
(2)added to its name. Nothing is lost. - Overwrite rips into the existing folder and replaces the files with the same names.
- Skip cancels this rip.
To stop being asked, set Settings › Ripping › When the album folder exists to always do one of the three.
Rip a set of several CDs
For a double album or a box set, each CD gets its disc number, so the files sort in order and your music player keeps the set together.
- Insert the first CD. If MusicBrainz knows the set, Disc and Of are already filled in (for example, 1 of 2). If not, type them.
- Rip it.
- When the rip is done, insert the next CD. The rip bar says Insert the next CD to continue.
- Check Disc and Of, and rip it. Repeat for each CD.
All the CDs go into the same album folder. By default each one gets its own subfolder, Disc 1, Disc 2 and so on.
To keep every track in the album folder instead, turn off Settings › File names › Put each disc of a multi-disc set
in its own folder; the file names then start with the disc number (1-01 - Title.flac).
Rip the hidden track before track 1
A few CDs hide a song before track 1: it plays only if you rewind from the start of track 1. DiscProof ignores it unless you ask for it.
- Open Settings [Ctrl+,].
- Under Ripping, set Hidden track before track 1 to Rip as track 00.
- Rip the CD.
The hidden audio is saved as track 00. AccurateRip has no checksums for it, so it can only be checked by re-reading.
Rip as soon as a CD goes in
If you're ripping a stack of CDs, DiscProof can start each rip by itself.
- Open Settings [Ctrl+,].
- Under Metadata, turn on Rip automatically when the match is unambiguous.
From then on, a CD found on MusicBrainz or Discogs with only one matching release is ripped as soon as it's looked up. A CD with several possible releases, or none, waits for you, and so does one whose details you've started to edit. Together with Eject the disc when done and Notify when a rip finishes (both on by default), you can feed in CDs and check the results later.
4. Checking a Rip
A finished rip tells you how much to trust it. Most CDs come out with every track accurately ripped, and there's nothing more to do. This chapter covers reading the results and the log, and what to do with a track that didn't verify.
Read the results
When a rip finishes, a results card appears above the track list. Its heading sums up the rip; the three panels under it give the numbers.
| Heading | What it means |
|---|---|
| All n tracks accurately ripped | Every track matched AccurateRip. The copy is exact. |
| x of n tracks accurately ripped | Some tracks matched and some didn't. Check the others (see below). |
| Ripped — disc not in AccurateRip | Nothing to compare with. Judge the rip by how it read (see below). |
| Ripped — AccurateRip not checked | AccurateRip couldn't be reached, usually because you were offline. |
| Finished with errors | At least one track has a suspicious spot, or a track couldn't be read or saved. |
| Rip cancelled | You cancelled. Finished tracks are in the folder. |
The panels:
- AccurateRip counts the tracks that matched, and the best confidence among them.
- Suspicious counts the tracks with spots that re-reading couldn't settle. Red when it's not zero.
- Time is how long the rip took.
Under them is the album folder. Open folder opens it in your file manager; View log shows the rip log.
The track list keeps each track's final status (Chapter 1 lists them) and its CRC, a checksum of the track's audio. Two rips of a track with the same CRC are identical.
Read the rip log
Every rip writes a log into the album folder, named after the album (Estuary Sessions.log). It's a plain text
file that records how the drive was set up, how each track was read, and what AccurateRip said. It's the record to
go back to if you ever doubt a file. Click View log to read it in DiscProof.
The log has three parts:
- The settings: the drive, the read mode, whether the cache was defeated and C2 flags used, the read offset, and the output format.
- One section per track, with:
- Re-read sectors: how many sectors needed re-reads before they were settled. Zero is normal on a clean disc.
- Suspicious position: a time in the track (minutes, seconds and frames) that couldn't be settled. Listen there.
- Test CRC and Copy CRC: in a Paranoid rip, the checksums of both passes. Test and Copy CRCs differ means the two passes read the track differently.
- Samples filled with silence (offset): the few samples at the edge of the disc the drive couldn't reach (Chapter 1).
- The AccurateRip line: Accurately ripped with its confidence, Cannot be verified as accurate, or Track not present in AccurateRip database.
- Copy OK, or Copy finished with errors.
- The summary: each track's AccurateRip result, and No errors occurred or There were errors.
The last line is a checksum of the log itself, so a log that's been edited since can be told from the original.
When a track is suspicious
A suspicious track has at least one spot where repeated reads kept disagreeing. The copy has DiscProof's best guess there, which may be right, a click, or a short dropout.
- Look up the Suspicious position in the log, and listen to that spot in the file.
- Take the CD out and clean it: wipe it gently from the centre outwards with a soft, lint-free cloth.
- Rip the track again on its own, into a new folder (see Rip one track again).
- If it's still suspicious, try it in Paranoid mode, or in another drive. Drives differ in how well they read damaged discs.
If a later rip reads the track cleanly and it matches AccurateRip, that copy is good: use it.
When a track doesn't match AccurateRip
AR ✗ means AccurateRip has the track, but no copy in it matches yours. There are two common reasons.
Your CD is a different pressing. Some albums were pressed several times with the audio shifted slightly. Your copy can be perfect and still not match the checksums of another pressing. DiscProof checks for this: if a track matches at a shifted position, the log's summary says so:
Track(s) 4 match a different pressing (offset +12 samples)
That track is fine. It's an exact copy of your pressing.
A misread. If the log names no other pressing, treat the track like a suspicious one: clean the disc and rip it again. Look at the AccurateRip line's database confidence: when it's high, many people have the same disc and got a different result from yours, so your copy is very likely wrong.
When the disc isn't in AccurateRip
Plenty of CDs, especially less common or very new ones, aren't in AccurateRip. You then only have the reading checks, and they're usually enough:
- No suspicious tracks and no re-read sectors in the log: the drive read every part of the disc the same way twice. The copy is very likely exact.
- Re-read sectors, but no suspicious tracks: the disc has flaws, and re-reading settled them. Very likely exact.
- Suspicious tracks: see When a track is suspicious.
For a disc that matters to you, rip it in Paranoid mode. If the Test CRC and Copy CRC of every track match, two complete passes read the same audio.
Rip one track again
To re-rip a track without disturbing the rest of the album:
- Insert the CD and wait for it to be identified.
- Clear every track's checkbox except the one to rip again. (The checkbox at the top of the column clears them all.)
- Click Rip.
- When DiscProof says the album folder already exists, click New folder.
The track goes into a new folder next to the album, with its own log. Compare its CRC and AccurateRip result with the first rip. If the new one is better, move its file into the album folder in place of the old one.
5. Your Library and Media Servers
Every rip ends up as an album folder in your library: the tracks as FLAC files, tagged, with the cover, a CUE sheet and the log. This chapter covers what's in the folder, how to change the names DiscProof gives it, and how to use your library with Plex or another media server.
What's in an album folder
A rip of the demo disc, with the default settings, gives this:
Music/
The Lantern Society/
Estuary Sessions (2019)/
01 - Lanterns.flac
02 - Northbound.flac
…
08 - Last Light Over the Estuary.flac
cover.jpg
Estuary Sessions.cue
Estuary Sessions.log
- The tracks are FLAC files: compressed, but lossless, so they hold exactly the audio that was on the disc. Each one carries its tags and a copy of the cover.
- cover.jpg is the front cover, at up to 1500 pixels a side. Most music players and media servers look for it.
- The CUE sheet (
.cue) describes the disc's layout: where each track starts and the gaps between them. With it, the files can be burned back to a CD that matches the original, or played as one continuous album. - The log (
.log) records how the disc was read and checked (Chapter 4).
A set of several CDs gets one album folder with a subfolder per disc, Disc 1 and Disc 2. Each disc's folder has
its own tracks, CUE sheet and log (Estuary Sessions (Disc 1).log), and cover.jpg is in both the disc folder and
the album folder.
Change the file names
DiscProof names folders and files from a template, in Settings › File names. The default is:
{albumartist}/{album} ({year})/{disc_prefix}{tracknumber:02} - {title}
Each {field} is replaced by the album's details, and each / starts a new folder. The last part is the file name;
.flac is added to it. The line under the template shows where a track would go with the current template.
- Open Settings [Ctrl+,].
- Under File names, edit the template.
- Check the example line under it, then click Done.
The new names apply to the next rip. Albums you've already ripped keep their names.
| Field | Replaced by |
|---|---|
{albumartist} |
The album artist |
{album} |
The album title |
{year} |
The year of the release date (2019) |
{date} |
The full release date (2019-04-12) |
{title} |
The track title |
{artist} |
The track artist (on a compilation, each track's own) |
{tracknumber} |
The track number. {tracknumber:02} pads it to two digits: 01, 02… |
{tracktotal} |
The number of tracks on the disc |
{discnumber}, {disctotal} |
The disc number, and the number of discs in the set |
{disc_prefix} |
On a set of several CDs kept in one folder, the disc number and a dash (1-); otherwise nothing |
{genre} |
The genre |
{label} |
The record label |
{catalognumber} |
The catalog number |
Some examples:
{albumartist}/{year} - {album}/{tracknumber:02} {title}givesThe Lantern Society/2019 - Estuary Sessions/01 Lanterns.flac, which sorts each artist's albums by year.{albumartist} - {album}/{tracknumber:02} - {artist} - {title}keeps every album one level down, with the track artist in each file name: handy for compilations.
DiscProof keeps names safe for any disk, including network drives shared with Windows computers. A character that
isn't allowed in file names (such as /, :, ? or ") becomes _. Brackets left empty by a missing field, such
as () when there's no year, are dropped.
Tags
Each file is tagged with the album's details, so music players and media servers can sort and show it without looking anything up:
- Album and track: album, album artist, track title and artist, track and disc numbers and totals, date, original date, genre.
- Release: label, catalog number, barcode and media.
- Identifiers: the MusicBrainz IDs of the release, recording and artists, the Discogs release ID when the details came from Discogs, and each track's ISRC when the disc carries one.
- ReplayGain: loudness values for each track and for the album, so a player can even out volume between albums without changing the audio. Turn them off in Settings › Output › Add ReplayGain (album and track).
Settings › Output › FLAC compression level sets how hard the encoder works to make files small. Every level is lossless; 8, the default, gives the smallest files and takes slightly longer to encode.
Use your library with Plex
Plex, Jellyfin and most other media servers read the tags in FLAC files and the cover.jpg in each folder. With
Plex:
- In Plex, add a library of type Music.
- Add your DiscProof library folder to it. If Plex runs on another computer, such as a NAS, copy or sync your library there and add that folder.
- In the library's Advanced settings, turn on Prefer local metadata, so Plex uses the details in your files instead of its own guesses.
New albums appear after Plex next scans the folder. Because the tags carry MusicBrainz IDs, Plex and other servers match albums and artists reliably, even ones with common names.
Appendix: Quick Reference
Keyboard shortcuts
| Keys | Action |
|---|---|
| F1 | Open this guide |
| Ctrl+, | Open Settings |
| F5 | Read the disc again |
| Ctrl+V | Use a copied image as the cover |
| Enter | Keep an edited track title or album detail |
| Escape | Close a dialog |
Rip modes
Chosen with the arrow on the Rip button; the choice is remembered.
| Mode | How it reads | Use it for |
|---|---|---|
| Secure (default) | Twice, compared, and again wherever reads differ. Once, with re-reads of flagged spots, on a drive whose C2 error flags are trusted. | Almost everything |
| Paranoid | A full test pass, then a Secure rip; each track's two CRCs must match | A disc you're worried about |
| Burst | Once, no re-reads; AccurateRip is the only check | A clean disc that's in AccurateRip |
Track statuses
| Status | Meaning |
|---|---|
| Pending | Waiting to be ripped |
| Skipped | Not ticked, so not ripped |
| Reading | Being read |
| Testing | Being read in a Paranoid rip's test pass |
| Re-reading | Reads differed; reading the spot again |
| Encoding | Read; being compressed to FLAC |
| AR ✓ n | Matched AccurateRip, with confidence n |
| AR ✗ | AccurateRip has the track, but no copy matches. See Chapter 4 |
| OK | Read cleanly; AccurateRip couldn't check it |
| Suspicious | A spot couldn't be settled, or a Paranoid rip's two passes differed |
| Error | The track couldn't be read or saved |
The strip under each row shows how its sectors read: green, first time; amber, settled by re-reading; red, suspicious.
Results headings
| Heading | Meaning |
|---|---|
| All n tracks accurately ripped | Every track matched AccurateRip |
| x of n tracks accurately ripped | Some tracks didn't match |
| Ripped — disc not in AccurateRip | No checksums to compare with |
| Ripped — AccurateRip not checked | AccurateRip couldn't be reached |
| Finished with errors | A suspicious track, or one that couldn't be read or saved |
| Rip cancelled | Stopped with Cancel; finished tracks are kept |
Settings
Open with the gear icon or Ctrl+,. Changes are saved at once.
| Setting | Default | What it does |
|---|---|---|
| Library | Music in your home folder |
Where album folders go |
| File names | {albumartist}/{album} ({year})/{disc_prefix}{tracknumber:02} - {title} |
The folder and file name template (Chapter 5) |
| Put each disc of a multi-disc set in its own folder | On | Disc 1, Disc 2 subfolders; off puts the disc number in the file names |
| Error recovery quality | High | Rounds of 16 re-reads per unsettled spot: Low 1, Medium 3, High 5 |
| Hidden track before track 1 | Discard | Rip as track 00 saves audio hidden before track 1 |
| Detect pre-gaps before ripping | On | Measures the gaps between tracks for the CUE sheet and log |
| When the album folder exists | Ask | New folder, Overwrite or Skip without asking |
| Eject the disc when done | On | Ejects the CD after a rip |
| Notify when a rip finishes | On | A desktop notification with the result |
| FLAC compression level | 8 | 0–8; all lossless, 8 makes the smallest files |
| Add ReplayGain (album and track) | On | Loudness tags for even playback volume |
| Look up the album when a disc is inserted | On | Off: no lookup; type the details yourself |
| Rip automatically when the match is unambiguous | Off | Rips a CD with one online match as soon as it's looked up |
| Use MusicBrainz and the Cover Art Archive | On | The first place to look up an album and its cover |
| Use Discogs as a fallback | On | Looks on Discogs when MusicBrainz doesn't know the disc |
| Discogs personal token | Not set | Raises Discogs' limit on lookups |
Drive setup results
Shown by Set up drive in the banner, or the gauge icon in the top bar (Chapter 2).
| Result | Best | Notes |
|---|---|---|
| Caches audio | No | Yes is fine if the cache can be emptied |
| Accurate stream | Yes | Without it, reads are aligned in software |
| C2 error pointers | Supported, trusted | Trusted only after a test with a scratched CD |
| Overread lead-in/out | Yes | No is common: edge samples become silence |
| Read offset | Confirmed by two discs, or matches the drive list | Wrong offset: every track fails AccurateRip |
Commands
| Command | What it does |
|---|---|
discproof |
Start DiscProof |
discproof --demo |
Start with a simulated drive and a made-up album; no CD or network needed, nothing saved |
discproof --install-desktop |
Add DiscProof to the application menu (for a pipx install) |
discproof --uninstall-desktop |
Remove it from the menu again |
discproof --version |
Show the version |
discproof-drivecheck |
Run the drive test from a terminal and print the results. Add --save to store them, --no-features to only check the offset, a device such as /dev/sr1 for another drive |
discproof-probe |
List drives and show what one reports: its features, the disc's table of contents, CD-Text and codes. Add --read-test to also read some audio |
Files and folders
| Location | What's in it |
|---|---|
~/.config/discproof/settings.toml |
Your settings |
~/.config/discproof/drives.toml |
Each drive's test results and read offset |
~/.local/share/discproof/metadata.sqlite |
Saved answers from MusicBrainz and Discogs, so a disc read again is looked up quickly |
~/.local/share/discproof/driveoffsets.htm |
A copy of the AccurateRip drive list |
~/.cache/discproof/accuraterip/ |
Saved AccurateRip answers |
Album folders go into your library (Settings › Library), never into these folders. Deleting the cache and saved
answers is safe; DiscProof fetches them again when needed. Deleting drives.toml means setting up your drives again.