# Combining involved people roles

**URL:** https://community.mp3tag.de/t/combining-involved-people-roles/66815
**Category:** Support
**Created:** [December 12, 2024, 9:23am UTC](https://community.mp3tag.de/t/combining-involved-people-roles/66815 "2024-12-12T09:23:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Dizza17](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@Dizza17](https://community.mp3tag.de/u/Dizza17)
#### Post date: [December 12, 2024, 9:23am UTC](https://community.mp3tag.de/t/combining-involved-people-roles/66815/1 "2024-12-12T09:23:30Z")

</div>

Hi All,  
I currently have a number of tracks that have incorrect formatting of roles in the Involved people field.

The current format example is: Engineered by: Person one; Engineered by: Person two; Produced by: Person one; Produced by: Person two; Produced by: Person three; Mixed by: Person one; etc

I would like to format it so each person is listed under one entry of the respective role ie: Engineered by: Person one, Person two; Produced by: Person one, Person two, Person three; Mixed by: Person one; and so on. What would be the best way to achieve this. Greatly appreciate any feedback.

Regards Aaron

---

<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: [December 12, 2024, 10:28am UTC](https://community.mp3tag.de/t/combining-involved-people-roles/66815/2 "2024-12-12T10:28:12Z")

</div>

As there is no function to sort text, I do not see any way to group data together.  
The only way I could think of is to do this outside MP3tag and prepare the data to that it can be read by a spreadsheet or a program to create tables.

This would be a simple export script to get text separated by tab characters and linefeeds instead of a semicolon:

```auto
$filename(involved.txt,utf-8)
$loop(%_filename%)$replace(%involvedpeople%,: ,$char(9),; ,$char(13)$char(10))
$loopend()

```

You would then arrange the text again, transform the table into a single line of text for each file and them import it with Convert\>Text File-Tag.

---

<div class="post-metadata">

### Author: ![Dizza17](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@Dizza17](https://community.mp3tag.de/u/Dizza17)
#### Post date: [December 13, 2024, 12:55am UTC](https://community.mp3tag.de/t/combining-involved-people-roles/66815/3 "2024-12-13T00:55:09Z")

</div>

Thank you so much for your work around. I will try this today and see how it goes. Greatly appreciate your assistance.

Would this be the same for data in the MUSICIAN CREDITS field? Ie Guitar: Person one; Guitar: Person two; change to  
Guitar: Person one, Person two;

Regards Aaron

---

<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: [December 13, 2024, 6:21am UTC](https://community.mp3tag.de/t/combining-involved-people-roles/66815/4 "2024-12-13T06:21:00Z")

</div>

> [@Dizza17](#):
>
> Would this be the same for data in the MUSICIAN CREDITS field?

Yes, both applies to any other field - no sorting and the option to export the tag field's contents to a text file. You only have to replace the field name in the export. script

Edit August 2025: in the meantime MP3tag has got the [$sort() scripting function.](https://docs.mp3tag.de/scripting/)

---

<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 31, 2025, 1:50pm UTC](https://community.mp3tag.de/t/combining-involved-people-roles/66815/5 "2025-08-31T13:50:44Z")

</div>


