[Flac] Duplicate Tag

brianw brianw at audiobanshee.com
Sun Jan 19 22:44:16 UTC 2025


Hi Dave,

I haven't reviewed metaflac to see whether its algorithm might incorrectly show a tag twice. It's possible that dBpoweramp appended a tag that already existed. I imagine that if metaflac says there's an occurrence of the tag with no value, and another with a value, then that's probably accurate. Can you show the output of metaflac? That might help verify.

You could use other tools, like "hexdump -C path/filename" although it seems that you're on Windows, so you might not have that. Anyway, hexdump would show the raw file data, and then you could search for the 4-character tag to see whether it actually appears once or twice in the file.

I'd be tempted to write a simple tool that only shows FLAC chunks as tag and size, but it's probably quicker to review metaflac to see whether it is correct.

Brian


On Jan 19, 2025, at 11:30 AM, Dave B. wrote:
> If I run the metaflac command, "metaflac --show-all-tags path\filename".  There is a tag that is listed twice.  Only one of the tags has a value.  This seems to be the case for all of my flac files.  I ripped these with dBpoweramp and this tag was added/defined as a "custom" tag.
> 
> I can run the same command using exiftool, "exiftool --tag-all path\filename" and I only see the single tag, the one that has a value is the one listed.  If I look that this same file with MP3Tag "Extended Tags" I also only see it listed once, the one with the value. 
> 
> Does anyone know why it might be listed twice using metaflac.  I thought metaflac would be the better tool since it is the "official" tool, at least I assume it is.  Exiftool will read flac files but will not write to them, so I wonder if I am getting a complete list from it.  And MP3Tag has me wondering, because of the name.  I dont care — OR WANT — mp3 tags.  I only want FLAC tags.
> 
> Can anyone shed some light on me.
> 
> Thanks
> Dave



More information about the Flac mailing list