Re: how to handle multi value tags?

समीर सिंह Sameer Singh <[email protected]> Wed, 18 Feb 2026 06:14:42 +0530
Newsgroups gmane.emacs.emms.user
Message-ID <CAOR1sLxgMKThz_nM1PE_8jyBpTxvMN1EAWUQg-9-=88Jg60XAA@mail.gmail.com>
--0000000000001e08c3064b0e7fc3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I was looking at the source code of emms-info-native-vorbis.el,
specifically the emms-info-native-vorbis-extract-comments. AFAICT the
function correctly extracts the multi value tags correctly, but in
emms-info-native function the latest value of the tag overwrites the
previous ones.
A simple fix would be to define a list of tags which could have multiple
values, and if the tag is encountered, concatenate the values with a
separator, for eg. "Artist1 | Artist2 | Artist 3"
How does this sound?

On Wed, 18 Feb, 2026, 6:04=E2=80=AFam Yoni Rabkin, <[email protected]> wrote=
:

> =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9=
 Sameer Singh <[email protected]> writes:
>
> > vorbis allows multiple instances of the same tag field, which is common=
ly
> > used for tracks with multiple artists, composers etc.
> >
> > But emms does not seem to support it. So I was wondering how do you
> > guys handle this scenario?
>
> I don't see a reason not to add support for this feature. Repeated-field
> support is kind of spotty and variable across different players and
> readers.
>
> --
>    "Cut your own wood and it will warm you twice"
>

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

<div dir=3D"auto"><div>I was looking at the source code of emms-info-native=
-vorbis.el, specifically the emms-info-native-vorbis-extract-comments. AFAI=
CT the function correctly extracts the multi value tags correctly, but in e=
mms-info-native function the latest value of the tag overwrites the previou=
s ones.</div><div dir=3D"auto">A simple fix would be to define a list of ta=
gs which could have multiple values, and if the tag is encountered, concate=
nate the values with a separator, for eg. &quot;Artist1 | Artist2 | Artist =
3&quot;</div><div dir=3D"auto">How does this sound?<br><br><div class=3D"gm=
ail_quote gmail_quote_container" dir=3D"auto"><div dir=3D"ltr" class=3D"gma=
il_attr">On Wed, 18 Feb, 2026, 6:04=E2=80=AFam Yoni Rabkin, &lt;<a href=3D"=
mailto:[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex">=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8=E0=A4=
=BF=E0=A4=82=E0=A4=B9 Sameer Singh &lt;<a href=3D"mailto:lumarzeli30@gmail.=
com" target=3D"_blank" rel=3D"noreferrer">[email protected]</a>&gt; wri=
tes:<br>
<br>
&gt; vorbis allows multiple instances of the same tag field, which is commo=
nly<br>
&gt; used for tracks with multiple artists, composers etc.<br>
&gt;<br>
&gt; But emms does not seem to support it. So I was wondering how do you<br=
>
&gt; guys handle this scenario?<br>
<br>
I don&#39;t see a reason not to add support for this feature. Repeated-fiel=
d<br>
support is kind of spotty and variable across different players and<br>
readers.<br>
<br>
-- <br>
=C2=A0 =C2=A0&quot;Cut your own wood and it will warm you twice&quot;<br>
</blockquote></div></div></div>

--0000000000001e08c3064b0e7fc3--