Skip to content

Clarity of log messages #676

@pmoris

Description

@pmoris
  1. When ripping a cd that does not exist at all in AccurateRip, the final terminal stdout reads:

track 1: rip NOT accurate (max confidence 6) v1 [63720ac4], v2 [597c862e], DB [b16ef3bd]

This confused me at first, until I checked the log file itself, which clearly states that the tracks are not present in AccurateRip:

    Test CRC: FF8977DF
    Copy CRC: FF8977DF
    AccurateRip v1:
      Result: Track not present in AccurateRip database
    AccurateRip v2:
      Result: Track not present in AccurateRip database
    Status: Copy OK

Perhaps the message could be clarified for new users like myself?

Additionally, am I correct in assuming that the rip is still probably OK in this case, since the test and copy CRC values match? I've tried to verify myself by ripping the CD twice and comparing the resulting FLAC files too.

I observed the same issue for another cd where all but one track were present in AccurateRip. The terminal output simply stated that the rip was “NOT accurate,” even though the test and copy CRCs match according to the full log file.

As an aside, is this missing track problem a common situation with AccurateRip, or could this indicate something going wrong on whipper’s side?


  1. Similarly, one of the CDs in my collection has a "copy controlled technology" label, and indeed my rip attempts have proven unsuccessful so far. However, no log file gets written out (I guess this only happens for successful rips?), and I initially overlooked the stderr output about the test/copy CRCs (INFO:whipper.program.cdparanoia:checksums do not match, 50a53a2c 14a34a83), because I was capturing everything with a regular redirect instead of using 2>&1).

Perhaps a helpful message can be printed at the stdout level of whipper too when rip attempts fail due to CRC mismatches (rather than mismatches against AccurateRip)?

Verifying track 1 of 13 (try 5) (3 of 8) ...   0 %
I am doing something. (4 of 8) ...   0 %          
I am doing something. (4 of 8) ...   0 %          
Encoding track to FLAC (5 of 8) ...   0 %         
Encoding track to FLAC (5 of 8) ...   0 %         
I am doing something. (6 of 8) ...   0 %          
I am doing something. (6 of 8) ...   0 %          
Calculating peak level (7 of 8) ...   0 %         
Calculating peak level (7 of 8) ...   0 %         
Writing tags to FLAC (8 of 8) ...   0 %           
INFO:whipper.program.cdparanoia:checksums do not match, 50a53a2c 14a34a83
Writing tags to FLAC (8 of 8) ...   0 %           
CRITICAL:whipper.command.cd:giving up on track 1 after 5 times
                                                  
track can't be ripped. Rip attempts number is equal to 'MAX_TRIES'

I guess that #612 might alleviate this problem though.

Related topic I found about copy control: https://hydrogenaudio.org/index.php/topic,47872.0.html

  1. Lastly, is there any additional documentation explaining the various log messages and how to interpret them? For example:,
  • What is the content of the 3 columns (v1, v2, DB) in the accuraterip output on the terminal?
  • The log file contains a file SHA-256 checksum. Is this the checksum of the entire folder after ripping? Of a multi-track flac file? Of the wav? It seems to differ between multiple rips of the same cd, so I assume it also hashes the log file itself?
  • What is the meaning of the x of y part of these log messages? Reading track 1 of 13 (try 2) (1 of 8) ... 0 %

All that said, thanks a bunch for all the effort that's gone into this tool. It's been great to use overall!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions