python-audio-tools icon indicating copy to clipboard operation
python-audio-tools copied to clipboard

tta CUESHEET support not working

Open ghost opened this issue 9 years ago • 3 comments

I have only found one software so far that can produce whole cd rips with TTA. Python audio tools looks for this in the 'Cuesheet' while CUERipper embeds it within the 'CUESHEET' tag. Please fix the tag name. Or is there actually software that embeds it within the tag you are using now?

ghost avatar Oct 07 '15 18:10 ghost

The cuesheet tag isn't in the APEv2 or True Audio specifications at all, so it's going to have to be some sort of de-facto standard. But WavPack uses APEv2 like TTA and it explicitly uses "Cuesheet" for the key name in its specification. So it makes sense for two lossless formats using the same tagging format to use a non-standard tag like "Cuesheet" consistently. Does CUERipper also use "CUESHEET" when embedding cuesheets in WavPack files? If so, it may be a CUERipper bug.

"CUESHEET" itself is a strange choice considering how all the other APEv2 tags are capitalized. But I might be able devise an alias for it if necessary.

tuffy avatar Oct 07 '15 19:10 tuffy

Yes, it uses "CUESHEET" for both TTA and WV files. It appears to use the name "CUESHEET" for everything. FLAC, TTA, WV, APE, etc. Perhaps you could add a fallback to use "CUESHEET" if "Cuesheet" is not found?

ghost avatar Oct 07 '15 19:10 ghost

That sounds good. I've pushed out a fix which treats "CUESHEET" as an alias for "Cuesheet" in APEv2 tags. Hopefully that'll take care of it.

tuffy avatar Oct 07 '15 20:10 tuffy