# Export with multiple artists per track

**URL:** https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991
**Category:** Export
**Created:** [April 3, 2026, 7:52pm UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991 "2026-04-03T19:52:27Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![P.unkt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/0ea827/32.png) [@P.unkt](https://community.mp3tag.de/u/P.unkt)
#### Post date: [April 3, 2026, 7:52pm UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/1 "2026-04-03T19:52:27Z")

</div>

Could not find any solution for this in the existing threads.

This is how my export file looks like:

```auto
$filename(E:\Temp\Tracklists\%album%.txt,ansi)
$loop(%track%)'['color=green']'%track%'['/color']' - '['color=#E35151']''['i']''['%_length%']''['/i']''['/color']' • '['artist']'$meta_sep(artist, & )'['/artist']': %title%
$loopend()

```

I’m using the double backslash to separate multiple artist. When I use the script mentioned above I get the following:

```auto
[color=green]02[/color] - [color=#E35151][i][03:21][/i][/color] • [artist]Minus 8 & Virag[/artist]: We're Waiting

```

But I want it like this:

```auto
[color=green]02[/color] - [color=#E35151][i][03:21][/i][/color] • [artist]Minus 8[/artist] & [artist]Virag[/artist]: We're Waiting

```

Is this possible?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [April 3, 2026, 8:17pm UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/2 "2026-04-03T20:17:35Z")

</div>

Please show us a screenshot from Alt + T with your `ARTIST` field content of the track with **Minus & Virage**.

The solution for your export script depends on whether we see two or more `ARTIST` fields or only one `ARTIST` field.

---

<div class="post-metadata">

### Author: ![P.unkt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/0ea827/32.png) [@P.unkt](https://community.mp3tag.de/u/P.unkt)
#### Post date: [April 3, 2026, 9:44pm UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/3 "2026-04-03T21:44:51Z")

</div>

Thanks LL, there are 2 artist fields:

 ![2026-04-03_23h40_14](https://community.mp3tag.de/uploads/default/original/3X/c/9/c9a46441c51c726a964c4ada923bd822efe78a46.jpeg)

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [April 3, 2026, 10:28pm UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/4 "2026-04-03T22:28:19Z")

</div>

In your export script, you want to combine every `ARTIST` content with a space, an `&` (ampersand) character and a space?

As you wrote:  
`[artist]Minus 8[/artist] & [artist]Virag[/artist]`  
this would be extended with 3 artist like this  
`[artist]Minus 8[/artist] & [artist]Virag[/artist] & [artist]Third Artistname[/artist]`  
and so on for every additional ARTIST?

What about artists whose names include an ampersand, such as  
**Simon & Garfunkel** or **Bob Marley & The Wailers**?

---

<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: [April 4, 2026, 7:00am UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/5 "2026-04-04T07:00:38Z")

</div>

replace the reference to the multiple artist `$meta_sep(artist, & )` with  
`$replace($meta_sep(artist, == ),==,[/artist] & [artist])`

---

<div class="post-metadata">

### Author: ![P.unkt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/0ea827/32.png) [@P.unkt](https://community.mp3tag.de/u/P.unkt)
#### Post date: [April 4, 2026, 7:39am UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/6 "2026-04-04T07:39:20Z")

</div>

@LyricsLover I want it as you can see here in track 02 & 05, but not as in track 9:

 ![image](https://community.mp3tag.de/uploads/default/original/3X/b/7/b738523e5c1a825b324d8ac66c06906c3c9f503d.jpeg)

@ohrenkino This does not change the result, it’s like in track 09 then.

---

<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: [April 4, 2026, 7:44am UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/7 "2026-04-04T07:44:21Z")

</div>

> [@P.unkt](#):
>
> This does not change the result

Try: `$replace($meta_sep(artist,==),==,'['/artist']' & '['artist']')`

(which takes care of the square brackets)

---

<div class="post-metadata">

### Author: ![P.unkt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/0ea827/32.png) [@P.unkt](https://community.mp3tag.de/u/P.unkt)
#### Post date: [April 4, 2026, 8:25am UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/8 "2026-04-04T08:25:05Z")

</div>

> [@ohrenkino](#):
>
> $replace($meta\_sep(artist,==),==,'['/artist']' & '['artist']')

Yesssss, that’s it!

Thanks again.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [April 4, 2026, 8:49am UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/9 "2026-04-04T08:49:06Z")

</div>

@P.unkt

Just out of interest:  
Which editor displays your exported %album%.txt result file in such a colourful way?

---

<div class="post-metadata">

### Author: ![P.unkt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/0ea827/32.png) [@P.unkt](https://community.mp3tag.de/u/P.unkt)
#### Post date: [April 4, 2026, 8:55am UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/10 "2026-04-04T08:55:28Z")

</div>

@ohrenkino Check this:

> **[BBCode Text Editor](https://bbcode.ilma.dev/)**
>
> BBCode WYWSIG Editor with live and instant preview.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [April 4, 2026, 9:04am UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/11 "2026-04-04T09:04:38Z")

</div>

Thank you.  
With your modified export script, I get this output in your mentioned BBCode Text Editor:

![image](https://community.mp3tag.de/uploads/default/optimized/3X/b/e/befdabdc25f4e264ef3abbfd7aab2c3f72118963_2_690x51.png)

Could you please provide the complete working export script to see your example output without the [artist] and [/artist] keywords?

BTW: There is no closing [/artist] after the last artist. Is this correct?

---

<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: [April 11, 2026, 9:04am UTC](https://community.mp3tag.de/t/export-with-multiple-artists-per-track/70991/12 "2026-04-11T09:04:42Z")

</div>

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