<div dir="ltr"><div>I have to say after ripping 3000+ CD's with dBpoweramp, I've never encountered or cared about this kind of error....</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div><div dir="auto" style="color:rgb(34,34,34)">--</div><div dir="auto" style="color:rgb(34,34,34)"><span>Scott</span> <span>Sims</span></div><div dir="auto" style="color:rgb(34,34,34)">Mobile: 0403 969 003</div><div dir="auto" style="color:rgb(34,34,34)">Email: <a href="mailto:scott@aceblue.com" rel="noreferrer noreferrer" style="color:rgb(17,85,204)" target="_blank"><span>scott</span>@aceblue.com</a></div></div></div></div></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, 22 Jan 2025 at 03:20, <<a href="mailto:flac-request@xiph.org">flac-request@xiph.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Flac mailing list submissions to<br>
        <a href="mailto:flac@xiph.org" target="_blank">flac@xiph.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.xiph.org/mailman/listinfo/flac" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/flac</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:flac-request@xiph.org" target="_blank">flac-request@xiph.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:flac-owner@xiph.org" target="_blank">flac-owner@xiph.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Flac digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Duplicate Tag (Dave B)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 20 Jan 2025 20:47:45 +0000<br>
From: Dave B <<a href="mailto:daveb30@hotmail.com" target="_blank">daveb30@hotmail.com</a>><br>
To: brianw <<a href="mailto:brianw@audiobanshee.com" target="_blank">brianw@audiobanshee.com</a>>, "<a href="mailto:flac@xiph.org" target="_blank">flac@xiph.org</a>" <<a href="mailto:flac@xiph.org" target="_blank">flac@xiph.org</a>><br>
Subject: Re: [Flac] Duplicate Tag<br>
Message-ID:<br>
        <<a href="mailto:DM5PR0201MB339897AABD975BCFC38452A1B8E72@DM5PR0201MB3398.namprd02.prod.outlook.com" target="_blank">DM5PR0201MB339897AABD975BCFC38452A1B8E72@DM5PR0201MB3398.namprd02.prod.outlook.com</a>><br>
<br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Thank for the replay Brian.<br>
<br>
My intent is to remove a ?custom? tag that inadvertently ended up with a with the space in it?s name (Song Rating) and replace it with a tag with no space (SongRating).<br>
My working file is WorkingMan.flac<br>
<br>
If I run the metaflac command:<br>
metaflac --show-tag="Song Rating" --show-tag=SongRating WorkingMan.flac<br>
I see the following:<br>
Note there is a duplicate tag (one with a value and one with no value). Case explained to me that a duplicate tag is not necessarily unwanted.<br>
[cid:fc74d701-df5b-496d-b73b-ce2db2ce3ba6]<br>
 From within dBpoweramp I deleted the SONG RATING tag (2nd from the bottom)<br>
 [cid:424e371a-639e-4044-9fc7-b8fc7db2c69a]<br>
<br>
Then re-run the same metaflac command<br>
metaflac --show-tag="Song Rating" --show-tag=SongRating WorkingMan.flac<br>
I now see:<br>
[cid:32e3247e-e942-4359-9e8c-0756866324dc]<br>
<br>
That not only removed the tag that I actually wanted to delete, it also removed the duplicated tag that had no value.<br>
?I must say I am confused.<br>
So now the question begs to be asked.  If there are 2 tags, or more,  with the same name.  One with a value and one without, or for that matter they both have values and you want to remove a specific one. How would I do that.  If I use the metaflac command:<br>
metaflac --remove-tag=SongRating WorkingMan_Copy.flac<br>
it removes both.<br>
[cid:c8bed3b0-23ca-4576-87c3-2e6c6d96d839]<br>
<br>
It seems the deep I go the more confused I am getting.<br>
Thanks<br>
Dave<br>
<br>
________________________________<br>
From: brianw <<a href="mailto:brianw@audiobanshee.com" target="_blank">brianw@audiobanshee.com</a>><br>
Sent: Sunday, January 19, 2025 2:44 PM<br>
To: Dave B <<a href="mailto:daveb30@hotmail.com" target="_blank">daveb30@hotmail.com</a>><br>
Cc: <a href="mailto:flac@xiph.org" target="_blank">flac@xiph.org</a> <<a href="mailto:flac@xiph.org" target="_blank">flac@xiph.org</a>><br>
Subject: Re: [Flac] Duplicate Tag<br>
<br>
Hi Dave,<br>
<br>
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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
Brian<br>
<br>
<br>
On Jan 19, 2025, at 11:30 AM, Dave B. wrote:<br>
> 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.<br>
><br>
> 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.<br>
><br>
> 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.<br>
><br>
> Can anyone shed some light on me.<br>
><br>
> Thanks<br>
> Dave<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment.htm" rel="noreferrer" target="_blank">http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment.htm</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image.png<br>
Type: image/png<br>
Size: 89255 bytes<br>
Desc: image.png<br>
URL: <<a href="http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment.png" rel="noreferrer" target="_blank">http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment.png</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image.png<br>
Type: image/png<br>
Size: 14664 bytes<br>
Desc: image.png<br>
URL: <<a href="http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-0001.png" rel="noreferrer" target="_blank">http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-0001.png</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image.png<br>
Type: image/png<br>
Size: 18178 bytes<br>
Desc: image.png<br>
URL: <<a href="http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-0002.png" rel="noreferrer" target="_blank">http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-0002.png</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image.png<br>
Type: image/png<br>
Size: 39686 bytes<br>
Desc: image.png<br>
URL: <<a href="http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-0003.png" rel="noreferrer" target="_blank">http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-0003.png</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Flac mailing list<br>
<a href="mailto:Flac@xiph.org" target="_blank">Flac@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/flac" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/flac</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Flac Digest, Vol 117, Issue 4<br>
************************************<br>
</blockquote></div>