GNOME Bugzilla – Bug 109558
[0.6.1] cdparanoia: wrong discid when cd has a data track
Last modified: 2004-12-22 21:47:04 UTC
the cdparanoia plugin reports the wrong discid for cds which contain a data track. two particular examples are "Beastie Boys - Hello Nasty" and "G Love and Special Sauce - Yeah It's That Easy." The discid's are different than that reported by, for example, cd-discid-0.8 or ExactAudioCopy v0.90b4. Is it related to the fact that cdparanoia only reports the number of audio tracks, neglecting the number of data tracks?
Could somebody mark this as CLOSED / NOTGNOME or whatever is the appropriate solution for "this isn't supported in cdparanoia"? Reasons for that: Every track (audio and data) starts at an offset into the cd. This offset is measured in 75th of a second. The discid is computed by more or less checksumming these offsets (including the data tracks) in various different ways. cdparanoia does store these offsets and there exists an API to query them. This is properly used by the plugin. However: When opening the device and reading those offset informations, cdparanoia might adjust the offsets of data tracks. Note: It does not always adjust them, but it might. And it will never adjust offsets of audio tracks. If it does adjust them, discid computation fails, because the offsets reported by cdparanoia are wrong. There is no way to xif this without modifying cdparanoia. proposed solution: I applied a patch that issues a g_warning upon g_object_get when the discid might be wrong. I'm not sure if we should remove the discid, since most of the times (no data tracks) the discid works correctly. However we can not guarantee a correct discid. I'm in favour of removing it. Comments? wtay?
Ading patch that g_warning's when the discid might be wrong. Please mark as NOTGNOME when the patch is applied to 0.6
Created attachment 15642 [details] [review] patch for 0.6 branch to emit warning
Even when it's not strictly a GStreamer bug, we might still want to fix it upstream, right? Did anyone inform the cdparanoia people? I don't think removing it completely is a good thing.
Warning applied... Either way, this is not a Gst bug so it should be fixed in cdparanoia instead...