Mixed Mode CDs are not handled correctly #170
Labels
Accepted
Accepted issue on our roadmap
Bug
Generic bug: can be used together with more specific labels
Needed: more info
A reply from issue author is required
Needed: patch
A pull request is required
Priority: high
High priority
Milestone
Whipper currently assumes that the data track always has to be the last track. This is not a correct assumption for Mixed Mode CDs [1], which have audio and data tracks in one session. Data tracks can be both before and after the audio tracks.
The first part where this fails is in the musicbrainz id calculation. It will fail with an assertion error
Code in question (image/table.py):
This assumption is wrong. And I would personally prefer to simply use libdiscid's musicbrainz discid calculation (it also does freedb discid; and also does submission urls).
On my personal fork of whipper/morituri (useful parts are ending up in whipper), I ripped out this code and replaced it with discid. Then it fails later on, when trying to rip the first audio track (in my case: track 3), trying to index some result structure with index 3, where it should be using index 1. (Minus 2 - data tracks)
I have a bin/cue copy of this CD, and will upload it later on.
[1] https://en.wikipedia.org/wiki/Mixed_Mode_CD
The text was updated successfully, but these errors were encountered: