Used cdrdao to generate a toc, which had entries like so...
CD_TEXT {
LANGUAGE 0 {
TITLE "<title>"
PERFORMER ""
ISRC "<isrc>"
}
}
...per track, instead of...
ISRC "<isrc>"
CD_TEXT {
LANGUAGE 0 {
TITLE "<title>"
PERFORMER ""
}
}
cueconvert generated a quoted ISRC field, like...
ISRC "<isrc>"
...instead of...
ISRC <isrc>
...(without quotes).
This caused "metaflac --import-cuesheet-from" and "flac --cuesheet" to return an error like so:
file.flac: ERROR: while parsing cuesheet "file.cue" on line 9: invalid ISRC number
Removing the quotes from the ISRC values with...
sed -e 's/ISRC "([^"]*)"/ISRC \1/g'
...makes the cuesheet tagging work fine.
I suppose that quoted ISRC values should be parsed without error; see https://sourceforge.net/p/flac/bugs/100/.
Thanks for the wonderful program, works awesomely besides for this! :-)
Diff:
Altough I maintain FLAC, I have never actually used the metaflac program in anger. Would you be able to give me sufficient info to recreate this issue on my machine?
Last edit: Erik 2016-02-22
...is the same as...
, besides for that it does not encode the data.
src/share/grabbag/cuesheet.c, line 407:
so quotes in ISRC are explicitely disabled (not enabled) in the code. The only thing with quotes enabled is CATALOG value, see https://git.xiph.org/?p=flac.git;a=commitdiff;h=12d7fcb8d9024f2932411f4d5ce13ecb6bfa1936
A similar issue (although maybe not exactly the same thing) observed using the flac package on Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815587
Fixed in: