# Multiple values with semicolon (meta and nth)

**URL:** <https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003>\
**Category:** Support\
**Created:** [August 8, 2021, 4:29pm UTC](https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003 "2021-08-08T16:29:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![JP5000](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/58f4c7/32.png) [@JP5000](https://community.mp3tag.de/u/JP5000)\
**Post date:** [August 8, 2021, 4:29pm UTC](https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003/1 "2021-08-08T16:29:14Z")

</div>

I have some files that have the separate album artist with semicolon ;  
I would like the Album Artist to have only one artist and not multiple.

I have tried with the goal option but as I have to indicate that the separator is; I can not use the "nth" and "sep" option at the same time.  
I have tried these two options but I can not join them, any idea?

$meta(albumartist,0)  
$meta\_sep(albumartist,; )

Thanks

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 8, 2021, 4:58pm UTC](https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003/2 "2021-08-08T16:58:36Z")

</div>

If you really want to join the fields of the same type, then you have to use an action of the type "[Merge duplicate fields](https://docs.mp3tag.de/actions/merge-duplicate-fields)". In that action you can specify which separator you like.

---

<div class="post-metadata">

**Author:** ![JP5000](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/58f4c7/32.png) [@JP5000](https://community.mp3tag.de/u/JP5000)\
**Post date:** [August 8, 2021, 5:33pm UTC](https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003/3 "2021-08-08T17:33:45Z")

</div>

Thanks for the reply  
Actually I do not want to merge them, I would like the following:

BEFORE  
albumartist: artist1; artist2; artist3

AFTER  
albumartist: artist1

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 8, 2021, 5:37pm UTC](https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003/4 "2021-08-08T17:37:01Z")

</div>

If you want to remove all duplicate fields except the first one, then there is also an action:

[Remove duplicate fields](https://docs.mp3tag.de/actions/remove-duplicate-fields)

---

<div class="post-metadata">

**Author:** ![JP5000](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/58f4c7/32.png) [@JP5000](https://community.mp3tag.de/u/JP5000)\
**Post date:** [August 8, 2021, 5:43pm UTC](https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003/5 "2021-08-08T17:43:25Z")

</div>

I am a rookie in Mp3tag, but the duplicate fields only work with \, if you have semicolon it does not detect duplicates. The problem is that I need it semicolon and not \ to be able to use it from another software.  
I have tried to specify with sep option the semicolon, but then I can not to use only the first one option.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 8, 2021, 5:59pm UTC](https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003/6 "2021-08-08T17:59:52Z")

</div>

Where do you see the muli-value fields separated by ;? Probably not MP3tag. Check the extended tags dialogue to see how many fields of the same type you really have. If it is just one (1) then there is no real mulit-value field but your player interprets that as several values.

Still, you could split the fields by separator (see the already linked list of actions), in this case semicolon and then remove the duplicate fields.

---

<div class="post-metadata">

**Author:** ![JP5000](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/58f4c7/32.png) [@JP5000](https://community.mp3tag.de/u/JP5000)\
**Post date:** [August 8, 2021, 6:32pm UTC](https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003/7 "2021-08-08T18:32:56Z")

</div>

Thanks for your help

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [September 7, 2021, 6:33pm UTC](https://community.mp3tag.de/t/multiple-values-with-semicolon-meta-and-nth/54003/8 "2021-09-07T18:33:04Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
