[Abcde-users] Musicbrainz lookup from flac image
John Lane
abcde at jelmail.com
Thu Apr 26 20:56:12 BST 2018
On 25/04/18 13:56, Steve McIntyre wrote:
> On Wed, Apr 25, 2018 at 12:54:43PM +0100, John Lane wrote:
>> I am ripping a load of CDs, my workflow with abcde comprises two steps:
>>
>> $ abcde -1 -o flac -a default,cue
>> $ abcde -d album.flac
>>
>> Usually this works fine, but some discs are correctly looked up on
>> Musicbrainz in step 1 but step 2 does not find the Musicbrainz match,
>> only cddb.
>>
>> No idea why this is or what I should do to help troubleshoot it?
>
> Hi John,
>
> The first thing I'd look for is a debug log with one of the failing
> flac files. My guess for the failure would be incorrect offset
> calculations...
>
Steve I think the problem occurs when a disc has a pregap. I've just
encountered another one and can summarise the logs as follows:
Log extract from disc rip (whole disc or separate tracks - doesn't matter):
Table of contents (audio tracks only):
track length begin copy pre ch
===========================================================
1. 19928 [04:25.53] 32 [00:00.32] no no 2
2. 17140 [03:48.40] 19960 [04:26.10] no no 2
3. 13550 [03:00.50] 37100 [08:14.50] no no 2
4. 11095 [02:27.70] 50650 [11:15.25] no no 2
5. 13792 [03:03.67] 61745 [13:43.20] no no 2
6. 18230 [04:03.05] 75537 [16:47.12] no no 2
7. 15105 [03:21.30] 93767 [20:50.17] no no 2
8. 13168 [02:55.43] 108872 [24:11.47] no no 2
9. 9500 [02:06.50] 122040 [27:07.15] no no 2
10. 35757 [07:56.57] 131540 [29:13.65] no no 2
TOTAL 167265 [37:10.15] (audio only)
vvecho 'makeids: PREGAP 32, LEADIN 150, LEADOUT 167265'
Log extract from whole-disc flac rip:
TRACK 01 AUDIO
INDEX 00 00:00:00
INDEX 01 00:00:32
TRACK 02 AUDIO
INDEX 01 04:26:10
TRACK 03 AUDIO
INDEX 01 08:14:50
TRACK 04 AUDIO
INDEX 01 11:15:25
TRACK 05 AUDIO
INDEX 01 13:43:20
TRACK 06 AUDIO
INDEX 01 16:47:12
TRACK 07 AUDIO
INDEX 01 20:50:17
TRACK 08 AUDIO
INDEX 01 24:11:47
TRACK 09 AUDIO
INDEX 01 27:07:15
TRACK 10 AUDIO
INDEX 01 29:13:65
vvecho 'makeids: PREGAP 32, LEADIN 150, LEADOUT 167297'
Note the LEADOUT is different by the size of the PREGAP:
167297 - 167265 = 32 = pregap
I suspect that's the problem.
I have the 3 logs and can forward if you still need them. I can open a
bug if you'd like me to?
Many thanks,
John
More information about the Abcde-users
mailing list