Re: Flac Digest, Vol 117, Issue 4

Scott Sims <[email protected]> Wed, 22 Jan 2025 00:28:49 +1030
Newsgroups gmane.comp.audio.compression.flac.user
Message-ID <CAEA_Ns++_+HrTQ7wx4EbrZ9b1ecAW+wLqEx53WE6aZCpUCMKTA@mail.gmail.com>
--===============8530743636722074636==
Content-Type: multipart/alternative; boundary="00000000000059e6de062c3a58f4"

--00000000000059e6de062c3a58f4
Content-Type: text/plain; charset="UTF-8"

I have to say after ripping 3000+ CD's with dBpoweramp, I've never
encountered or cared about this kind of error....
--
Scott Sims
Mobile: 0403 969 003
Email: [email protected]


On Wed, 22 Jan 2025 at 03:20, <[email protected]> wrote:

> Send Flac mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.xiph.org/mailman/listinfo/flac
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Flac digest..."
>
>
> Today's Topics:
>
>    1. Re: Duplicate Tag (Dave B)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 20 Jan 2025 20:47:45 +0000
> From: Dave B <[email protected]>
> To: brianw <[email protected]>, "[email protected]" <[email protected]>
> Subject: Re: [Flac] Duplicate Tag
> Message-ID:
>         <
> DM5PR0201MB339897AABD975BCFC38452A1B8E72@DM5PR0201MB3398.namprd02.prod.outlook.com
> >
>
> Content-Type: text/plain; charset="windows-1252"
>
> Thank for the replay Brian.
>
> 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).
> My working file is WorkingMan.flac
>
> If I run the metaflac command:
> metaflac --show-tag="Song Rating" --show-tag=SongRating WorkingMan.flac
> I see the following:
> 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.
> [cid:fc74d701-df5b-496d-b73b-ce2db2ce3ba6]
>  From within dBpoweramp I deleted the SONG RATING tag (2nd from the bottom)
>  [cid:424e371a-639e-4044-9fc7-b8fc7db2c69a]
>
> Then re-run the same metaflac command
> metaflac --show-tag="Song Rating" --show-tag=SongRating WorkingMan.flac
> I now see:
> [cid:32e3247e-e942-4359-9e8c-0756866324dc]
>
> That not only removed the tag that I actually wanted to delete, it also
> removed the duplicated tag that had no value.
> ?I must say I am confused.
> 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:
> metaflac --remove-tag=SongRating WorkingMan_Copy.flac
> it removes both.
> [cid:c8bed3b0-23ca-4576-87c3-2e6c6d96d839]
>
> It seems the deep I go the more confused I am getting.
> Thanks
> Dave
>
> ________________________________
> From: brianw <[email protected]>
> Sent: Sunday, January 19, 2025 2:44 PM
> To: Dave B <[email protected]>
> Cc: [email protected] <[email protected]>
> Subject: Re: [Flac] Duplicate Tag
>
> 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
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment.htm
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image.png
> Type: image/png
> Size: 89255 bytes
> Desc: image.png
> URL: <
> http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment.png
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image.png
> Type: image/png
> Size: 14664 bytes
> Desc: image.png
> URL: <
> http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-0001.png
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image.png
> Type: image/png
> Size: 18178 bytes
> Desc: image.png
> URL: <
> http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-0002.png
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image.png
> Type: image/png
> Size: 39686 bytes
> Desc: image.png
> URL: <
> http://lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-0003.png
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Flac mailing list
> [email protected]
> http://lists.xiph.org/mailman/listinfo/flac
>
>
> ------------------------------
>
> End of Flac Digest, Vol 117, Issue 4
> ************************************
>

--00000000000059e6de062c3a58f4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I have to say after ripping 3000+ CD&#39;s with=C2=A0=
dBpoweramp, I&#39;ve never encountered=C2=A0or cared about this kind of err=
or....</div><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=
=3D"gmail_signature"><div dir=3D"ltr"><div dir=3D"ltr"><div><div dir=3D"aut=
o" style=3D"color:rgb(34,34,34)">--</div><div dir=3D"auto" style=3D"color:r=
gb(34,34,34)"><span>Scott</span>=C2=A0<span>Sims</span></div><div dir=3D"au=
to" style=3D"color:rgb(34,34,34)">Mobile: 0403 969 003</div><div dir=3D"aut=
o" style=3D"color:rgb(34,34,34)">Email:=C2=A0<a href=3D"mailto:scott@aceblu=
e.com" rel=3D"noreferrer noreferrer" style=3D"color:rgb(17,85,204)" target=
=3D"_blank"><span>scott</span>@aceblue.com</a></div></div></div></div></div=
></div><br></div><br><div class=3D"gmail_quote gmail_quote_container"><div =
dir=3D"ltr" class=3D"gmail_attr">On Wed, 22 Jan 2025 at 03:20, &lt;<a href=
=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex">Send Flac mailing li=
st submissions to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http://lists.xiph.org/mailman/listin=
fo/flac" rel=3D"noreferrer" target=3D"_blank">http://lists.xiph.org/mailman=
/listinfo/flac</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a><br>
<br>
You can reach the person managing the list at<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Flac digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
=C2=A0 =C2=A01. 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 &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">d=
[email protected]</a>&gt;<br>
To: brianw &lt;<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>&gt;, &quot;<a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a>&quot; &lt;<a href=3D"mailto:[email protected]=
" target=3D"_blank">[email protected]</a>&gt;<br>
Subject: Re: [Flac] Duplicate Tag<br>
Message-ID:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:DM5PR0201MB339897AABD975B=
[email protected]" target=3D"_blank=
">DM5PR0201MB339897AABD975BCFC38452A1B8E72@DM5PR0201MB3398.namprd02.prod.ou=
tlook.com</a>&gt;<br>
<br>
Content-Type: text/plain; charset=3D&quot;windows-1252&quot;<br>
<br>
Thank for the replay Brian.<br>
<br>
My intent is to remove a ?custom? tag that inadvertently ended up with a wi=
th the space in it?s name (Song Rating) and replace it with a tag with no s=
pace (SongRating).<br>
My working file is WorkingMan.flac<br>
<br>
If I run the metaflac command:<br>
metaflac --show-tag=3D&quot;Song Rating&quot; --show-tag=3DSongRating Worki=
ngMan.flac<br>
I see the following:<br>
Note there is a duplicate tag (one with a value and one with no value). Cas=
e explained to me that a duplicate tag is not necessarily unwanted.<br>
[cid:fc74d701-df5b-496d-b73b-ce2db2ce3ba6]<br>
=C2=A0From within dBpoweramp I deleted the SONG RATING tag (2nd from the bo=
ttom)<br>
=C2=A0[cid:424e371a-639e-4044-9fc7-b8fc7db2c69a]<br>
<br>
Then re-run the same metaflac command<br>
metaflac --show-tag=3D&quot;Song Rating&quot; --show-tag=3DSongRating Worki=
ngMan.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 rem=
oved the duplicated tag that had no value.<br>
?I must say I am confused.<br>
So now the question begs to be asked.=C2=A0 If there are 2 tags, or more,=
=C2=A0 with the same name.=C2=A0 One with a value and one without, or for t=
hat matter they both have values and you want to remove a specific one. How=
 would I do that.=C2=A0 If I use the metaflac command:<br>
metaflac --remove-tag=3DSongRating 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 &lt;<a href=3D"mailto:[email protected]" target=3D"_blan=
k">[email protected]</a>&gt;<br>
Sent: Sunday, January 19, 2025 2:44 PM<br>
To: Dave B &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">dav=
[email protected]</a>&gt;<br>
Cc: <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a> &l=
t;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;<=
br>
Subject: Re: [Flac] Duplicate Tag<br>
<br>
Hi Dave,<br>
<br>
I haven&#39;t reviewed metaflac to see whether its algorithm might incorrec=
tly show a tag twice. It&#39;s possible that dBpoweramp appended a tag that=
 already existed. I imagine that if metaflac says there&#39;s an occurrence=
 of the tag with no value, and another with a value, then that&#39;s probab=
ly accurate. Can you show the output of metaflac? That might help verify.<b=
r>
<br>
You could use other tools, like &quot;hexdump -C path/filename&quot; althou=
gh it seems that you&#39;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&#39;d be tempted to write a simple tool that only shows FLAC chunks as ta=
g and size, but it&#39;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>
&gt; If I run the metaflac command, &quot;metaflac --show-all-tags path\fil=
ename&quot;.=C2=A0 There is a tag that is listed twice.=C2=A0 Only one of t=
he tags has a value.=C2=A0 This seems to be the case for all of my flac fil=
es.=C2=A0 I ripped these with dBpoweramp and this tag was added/defined as =
a &quot;custom&quot; tag.<br>
&gt;<br>
&gt; I can run the same command using exiftool, &quot;exiftool --tag-all pa=
th\filename&quot; and I only see the single tag, the one that has a value i=
s the one listed.=C2=A0 If I look that this same file with MP3Tag &quot;Ext=
ended Tags&quot; I also only see it listed once, the one with the value.<br=
>
&gt;<br>
&gt; Does anyone know why it might be listed twice using metaflac.=C2=A0 I =
thought metaflac would be the better tool since it is the &quot;official&qu=
ot; tool, at least I assume it is.=C2=A0 Exiftool will read flac files but =
will not write to them, so I wonder if I am getting a complete list from it=
.=C2=A0 And MP3Tag has me wondering, because of the name.=C2=A0 I dont care=
 ? OR WANT ? mp3 tags.=C2=A0 I only want FLAC tags.<br>
&gt;<br>
&gt; Can anyone shed some light on me.<br>
&gt;<br>
&gt; Thanks<br>
&gt; Dave<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href=3D"http://lists.xiph.org/pipermail/flac/attachments/202501=
20/b22cc336/attachment.htm" rel=3D"noreferrer" target=3D"_blank">http://lis=
ts.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment.htm</a>=
&gt;<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: &lt;<a href=3D"http://lists.xiph.org/pipermail/flac/attachments/202501=
20/b22cc336/attachment.png" rel=3D"noreferrer" target=3D"_blank">http://lis=
ts.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment.png</a>=
&gt;<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: &lt;<a href=3D"http://lists.xiph.org/pipermail/flac/attachments/202501=
20/b22cc336/attachment-0001.png" rel=3D"noreferrer" target=3D"_blank">http:=
//lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-00=
01.png</a>&gt;<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: &lt;<a href=3D"http://lists.xiph.org/pipermail/flac/attachments/202501=
20/b22cc336/attachment-0002.png" rel=3D"noreferrer" target=3D"_blank">http:=
//lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-00=
02.png</a>&gt;<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: &lt;<a href=3D"http://lists.xiph.org/pipermail/flac/attachments/202501=
20/b22cc336/attachment-0003.png" rel=3D"noreferrer" target=3D"_blank">http:=
//lists.xiph.org/pipermail/flac/attachments/20250120/b22cc336/attachment-00=
03.png</a>&gt;<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Flac mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a><br>
<a href=3D"http://lists.xiph.org/mailman/listinfo/flac" rel=3D"noreferrer" =
target=3D"_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>

--00000000000059e6de062c3a58f4--

--===============8530743636722074636==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Flac mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac

--===============8530743636722074636==--