Bug#815587: flac fails with "invalid ISRC number" when multiple ISRC attributes exist for a track
Daniel Pocock
daniel at pocock.pro
Mon Feb 22 18:34:08 UTC 2016
Package: flac
Version: 1.3.0-3
I've gone through a collection of discs and 2 of them fail with errors
like this:
data.bin: ERROR parsing cuesheet "/mnt/cdrip/incoming/foo_bar/disc.cue"
on line 11: invalid ISRC number
The discs were originally processed with cdrdao which produces a TOC
file containing something like this:
// Track 1
TRACK AUDIO
NO COPY
NO PRE_EMPHASIS
TWO_CHANNEL_AUDIO
ISRC "USSM12345678"
CD_TEXT {
LANGUAGE 0 {
TITLE "Foo"
PERFORMER "Bar"
DISC_ID ""
ISRC "US-SM1-23-45678"
}
}
FILE "data.bin" 0 01:23:45
and then I put that through cueconvert:
cueconvert disc.toc disc.cue
which puts the following in the disc.cue:
FILE "data.bin" WAVE
TRACK 01 AUDIO
TITLE "Foo"
PERFORMER "Bar"
DISC_ID ""
ISRC "US-SM1-23-45678"
ISRC USSM12345678
INDEX 01 00:00:00
and then I run flac:
flac --best \
--force-raw --sample-rate=44100 --channels=2 --bps=16 \
--endian=big --sign=signed \
--cuesheet=disc.cue data.bin -o disc.flac
The line referred to in the error is the line with a quoted ISRC string.
Should the flac command tolerate these cuesheet files? Should this bug
be assigned to cueconvert or cdrdao?
There is a similar bug here:
https://sourceforge.net/p/flac/bugs/436/
but it only refers to quoted ISRC values, not the case of multiple ISRC
values per-track.
More information about the pkg-multimedia-maintainers
mailing list