Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated CUE file format problem #268

Open
sdybiec opened this issue Mar 2, 2023 · 2 comments
Open

Generated CUE file format problem #268

sdybiec opened this issue Mar 2, 2023 · 2 comments

Comments

@sdybiec
Copy link

sdybiec commented Mar 2, 2023

I recently ripped my entire CD collection with CueTools / EAC. Great tool. The ability to write out logs with tons of great metadata about the rip process and quality is awesome.

Only found one snag: some of the CUE files put the FILE line in the wrong place for some tracks. Couldn't figure out a pattern that predicts this --- but I really didn't try that hard :-)

Here's a example where the FILE lines for tracks 3, 9 and 10 are in odd places that break most CUE parses:

REM DISCID 910CB60B
PERFORMER "Coldplay"
TITLE "?????"
CATALOG 0724354050428
REM DATE 2002
REM DISCNUMBER 1
REM TOTALDISCS 1
REM COMMENT "CUERipper v2.1.6 Copyright (C) 2008-13 Grigory Chudov"
FILE "01. Politik.flac" WAVE
  TRACK 01 AUDIO
    PERFORMER "Coldplay"
    TITLE "Politik"
    ISRC GBAYE0200770
    INDEX 01 00:00:00
FILE "02. In My Place.flac" WAVE
  TRACK 02 AUDIO
    PERFORMER "Coldplay"
    TITLE "In My Place"
    ISRC GBAYE0200606
    INDEX 01 00:00:00
  TRACK 03 AUDIO
    PERFORMER "Coldplay"
    TITLE "God Put a Smile Upon Your Face"
    ISRC GBAYE0200775
    INDEX 00 03:46:65
FILE "03. God Put a Smile Upon Your Face.flac" WAVE
    INDEX 01 00:00:00
FILE "04. The Scientist.flac" WAVE
  TRACK 04 AUDIO
    PERFORMER "Coldplay"
    TITLE "The Scientist"
    ISRC GBAYE0200772
    INDEX 01 00:00:00
FILE "05. Clocks.flac" WAVE
  TRACK 05 AUDIO
    PERFORMER "Coldplay"
    TITLE "Clocks"
    ISRC GBAYE0200771
    INDEX 01 00:00:00
FILE "06. Daylight.flac" WAVE
  TRACK 06 AUDIO
    PERFORMER "Coldplay"
    TITLE "Daylight"
    ISRC GBAYE0200773
    INDEX 01 00:00:00
  TRACK 07 AUDIO
    PERFORMER "Coldplay"
    TITLE "Green Eyes"
    ISRC GBAYE0200774
    INDEX 00 05:26:53
FILE "07. Green Eyes.flac" WAVE
    INDEX 01 00:00:00
  TRACK 08 AUDIO
    PERFORMER "Coldplay"
    TITLE "Warning Sign"
    ISRC GBAYE0200776
    INDEX 00 03:40:43
FILE "08. Warning Sign.flac" WAVE
    INDEX 01 00:00:00
  TRACK 09 AUDIO
    PERFORMER "Coldplay"
    TITLE "A Whisper"
    ISRC GBAYE0200777
    INDEX 00 05:29:05
FILE "09. A Whisper.flac" WAVE
    INDEX 01 00:00:00
  TRACK 10 AUDIO
    PERFORMER "Coldplay"
    TITLE "A Rush of Blood to the Head"
    ISRC GBAYE0200778
    INDEX 00 03:57:22
FILE "10. A Rush of Blood to the Head.flac" WAVE
    INDEX 01 00:00:00
FILE "11. Amsterdam.flac" WAVE
  TRACK 11 AUDIO
    PERFORMER "Coldplay"
    TITLE "Amsterdam"
    ISRC GBAYE0200779
    INDEX 01 00:00:00

Thanks again for the great tool.

@ha-korth
Copy link

ha-korth commented Mar 2, 2023

Similar to #179
EAC (you mentioned EAC) and CUERipper create noncompliant CUE files to preserve the INDEX 00 (gap) information when ripping each track to a separate file (tracks). This can be turned off in CUERipper by setting the option Detect Indexes: False.
Unfortunately this will also turn off other subcode detection.

[EDIT] Note: The Detect Indexes setting currently only changes what information is written to the CUE file or Extraction Log file. The setting does not alter the audio data extraction (RIP).

https://github.com/gchudov/cuetools.net#readme

The goal is to make sure the album image is preserved accurately. A lossless disc image must be lossless not only in preserving contents of the audio tracks, but also in preserving gaps and CUE sheet contents. Many applications lose vital information upon conversion, and don't support all possible CUE sheet styles. For example, foobar2000 loses disc pre-gap information when converting an album image, and doesn't support gaps appended (noncompliant) CUE sheets.

@bikerspade
Copy link

For reference, here is the cuesheet for this disc generated via redumper:

CATALOG 0724354050428
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 01).bin" BINARY
  TRACK 01 AUDIO
    ISRC GBAYE0200770
    INDEX 01 00:00:00
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 02).bin" BINARY
  TRACK 02 AUDIO
    ISRC GBAYE0200606
    INDEX 01 00:00:00
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 03).bin" BINARY
  TRACK 03 AUDIO
    ISRC GBAYE0200775
    INDEX 00 00:00:00
    INDEX 01 00:01:65
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 04).bin" BINARY
  TRACK 04 AUDIO
    ISRC GBAYE0200772
    INDEX 01 00:00:00
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 05).bin" BINARY
  TRACK 05 AUDIO
    ISRC GBAYE0200771
    INDEX 01 00:00:00
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 06).bin" BINARY
  TRACK 06 AUDIO
    ISRC GBAYE0200773
    INDEX 01 00:00:00
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 07).bin" BINARY
  TRACK 07 AUDIO
    ISRC GBAYE0200774
    INDEX 00 00:00:00
    INDEX 01 00:01:07
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 08).bin" BINARY
  TRACK 08 AUDIO
    ISRC GBAYE0200776
    INDEX 00 00:00:00
    INDEX 01 00:02:35
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 09).bin" BINARY
  TRACK 09 AUDIO
    ISRC GBAYE0200777
    INDEX 00 00:00:00
    INDEX 01 00:02:05
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 10).bin" BINARY
  TRACK 10 AUDIO
    ISRC GBAYE0200778
    INDEX 00 00:00:00
    INDEX 01 00:01:03
FILE "Coldplay - A Rush of Blood to the Head (USA) (Track 11).bin" BINARY
  TRACK 11 AUDIO
    ISRC GBAYE0200779
    INDEX 01 00:00:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants