# Add parentheses To featured artist

**URL:** https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701
**Category:** General Discussion
**Created:** [August 23, 2010, 5:15pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701 "2010-08-23T17:15:18Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![genghiskhan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/48db29/32.png) [@genghiskhan](https://community.mp3tag.de/u/genghiskhan)
#### Post date: [August 23, 2010, 5:15pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/1 "2010-08-23T17:15:18Z")

</div>

I want to add featured artist

For example

artist  
Michael Jackson Feat. Akon

to

Michael Jackson (Feat. Akon)

I have been trying this for a while and it is probably simple but is driving me crazy

---

<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 24, 2010, 6:26am UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/2 "2010-08-24T06:26:12Z")

</div>

> [@genghiskhan](#):
>
> I have been trying this for a while and it is probably simple but is driving me crazy

Would have been interesting to see what you have been trying....

Create an Action Group that consists of two actions:  
a) A replace action (just normal replace) that, in the field artist, replaces "Feat." with "(Feat."  
b) a replace with regular expression action that, in the field artist, replaces $ (which stands for "end of string) with a ")"  
You should apply a suitable filter first as this action simply adds the characters and does not check whether they are already there. If you run the action group twice, you will get duplicate brackets...

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [August 24, 2010, 8:09am UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/3 "2010-08-24T08:09:41Z")

</div>

> [@genghiskhan](#):
>
> ...  
> Michael Jackson Feat. Akon  
> to  
> Michael Jackson (Feat. Akon)  
> ...

Action: "Format value"  
Field: ARTIST  
Formatstring: **$replace(%ARTIST%,' Feat. ',' (Feat. ')')'**

DD.20100824.1210.CEST

To avoid side effects ... set ...  
Filterstring: **ARTIST HAS " Feat. "**

Edit. DD.20120705.1911.CEST

---

<div class="post-metadata">

### Author: ![djphatic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/c0e974/32.png) [@djphatic](https://community.mp3tag.de/u/djphatic)
#### Post date: [January 18, 2011, 5:15pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/4 "2011-01-18T17:15:15Z")

</div>

Is it possible to do this but put the (feat. artist) before another group of parentheses, for example:

Artist: Armin van Buuren feat. Laura V  
Title: Drowning (Avicii Remix)

to

Artist: Armin van Buuren  
Title: Drowning (feat. Laura V) (Avicii Remix)

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [January 18, 2011, 7:00pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/5 "2011-01-18T19:00:57Z")

</div>

> [@djphatic](#):
>
> Is it possible to do this but put the (feat. artist) before another group of parentheses, for example:  
> Artist: Armin van Buuren feat. Laura V  
> Title: Drowning (Avicii Remix)  
> to  
> Artist: Armin van Buuren  
> Title: Drowning (feat. Laura V) (Avicii Remix)

_Action:_ Guess values  
_Source format:_ $regexp(%title%,(._) ('('._')'),$1) ($regexp(%artist%,(._) (feat._),$2')') $regexp(%title%,(._) ('('._')'),$2)===$regexp(%artist%,(._) (feat._),$1)  
_Guessing pattern:_ %title%===%artist%

---

<div class="post-metadata">

### Author: ![djphatic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/c0e974/32.png) [@djphatic](https://community.mp3tag.de/u/djphatic)
#### Post date: [January 18, 2011, 7:40pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/6 "2011-01-18T19:40:35Z")

</div>

> [@pone](#):
>
> _Action:_ Guess values  
> _Source format:_ $regexp(%title%,(._) ('('._')'),$1) ($regexp(%artist%,(._) (feat._),$2')') $regexp(%title%,(._) ('('._')'),$2)===$regexp(%artist%,(._) (feat._),$1)  
> _Guessing pattern:_ %title%===%artist%

Awesome, works great if there is parentheses in the track tag but if there isn't the track results in the following (using a similar example):

Artist: Armin van Buuren feat. Laura V  
Title: Drowning

to

Artist: Armin van Buuren  
Title: Drowning (feat. Laura V) Drowning

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [January 18, 2011, 9:00pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/7 "2011-01-18T21:00:03Z")

</div>

> [@djphatic](#):
>
> Awesome, works great if there is parentheses in the track tag but if there isn't the track results in the following (using a similar example):  
> Artist: Armin van Buuren feat. Laura V  
> Title: Drowning  
> to  
> Artist: Armin van Buuren  
> Title: Drowning (feat. Laura V) Drowning

use this Source Format:  
$regexp(%title%,(._) ('('._')'),$1) ($regexp(%artist%,(._) (feat._),$2')')$if($eql($right(%title%,1),')'), $regexp(%title%,(._) ('('._')'),$2),)===$regexp(%artist%,(._) (feat._),$1)

works for both, title with or without version names in parenthesis.

---

<div class="post-metadata">

### Author: ![djphatic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/c0e974/32.png) [@djphatic](https://community.mp3tag.de/u/djphatic)
#### Post date: [January 18, 2011, 9:12pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/8 "2011-01-18T21:12:26Z")

</div>

> [@pone](#):
>
> use this Source Format:  
> $regexp(%title%,(._) ('('._')'),$1) ($regexp(%artist%,(._) (feat._),$2')')$if($eql($right(%title%,1),')'), $regexp(%title%,(._) ('('._')'),$2),)===$regexp(%artist%,(._) (feat._),$1)
> 
> works for both, title with or without version names in parenthesis.

Thanks

This works great on tracks where the Artist tag does contain a feat. artist.

If the action is done on a batch of tracks, those which do not contain feat. artists the artist is copied into the title tag like so:

Artist: Armin van Buuren  
Title: Drowning

to

Artist: Armin van Buuren  
Title: Drowning (Armin van Buuren

And also

Artist: Armin van Buuren  
Title: Drowning (Avicii Remix)

to

Artist: Armin van Buuren  
Title: Drowning (Armin van Buuren (Avicii Remix)

Is there anyway to fix this or can this action only work correctly on those files which have a feat. artist in the artist tag?

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [January 18, 2011, 9:37pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/9 "2011-01-18T21:37:22Z")

</div>

> [@djphatic](#):
>
> Thanks
> 
> This works great on tracks where the Artist tag does contain a feat. artist.
> 
> If the action is done on a batch of tracks, those which do not contain feat. artists the artist is copied into the title tag
> 
> Is there anyway to fix this or can this action only work correctly on those files which have a feat. artist in the artist tag?

That was what you asked for. Please be more exact what different cases the action should cover.

You can use the filter (F3) with **%artist% MATCHES " feat"** to display only those files which have a " feat."

But anyway, i like regular expressions, here is your Source Format for artists with or without feat and titles with our without versions in parenthesis:  
$regexp(%title%,(._) ('('._')'),$1)$if($eql($regexp(%artist%,.\* (feat)._,XXX),XXX),$regexp(%artist%,(._) (feat._), '('$2')'),)$if($eql($right(%title%,1),')'), $regexp(%title%,(._) ('('._')'),$2),)===$regexp(%artist%,(._) (feat.\*),$1)

different writings of the feat. like featuring, ft., Feat. would be the next problem, right?

---

<div class="post-metadata">

### Author: ![djphatic](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/c0e974/32.png) [@djphatic](https://community.mp3tag.de/u/djphatic)
#### Post date: [January 20, 2011, 4:39pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/10 "2011-01-20T16:39:47Z")

</div>

Thank you for your help, sorry I wasn't more specific as I assumed it would just work like that.

> [@pone](#):
>
> Different writings of the feat. like featuring, ft., Feat. would be the next problem, right?

Nope, I already have an action for that. ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:") Thanks.

---

<div class="post-metadata">

### Author: ![Super\_Arsha](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@Super\_Arsha](https://community.mp3tag.de/u/Super_Arsha)
#### Post date: [January 28, 2011, 8:01am UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/11 "2011-01-28T08:01:50Z")

</div>

pone can u please help me with my only problem ??

I Have the tags like this:

**artist: Akon**

Title: Give It To Em feat. Rick Ross

i want to make like this:

**artist: Akon & Rick Ross**

title: Give It To Em

i already have an action to replace (feat. - featuring. - ft.) to (&)

thank u in advance

---

<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: [January 28, 2011, 9:27am UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/12 "2011-01-28T09:27:46Z")

</div>

Haven't you posted the same question here?

[how to move (feat.) from title to artist - HELP](https://community.mp3tag.de/t/11512/2)

---

<div class="post-metadata">

### Author: ![Super\_Arsha](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@Super\_Arsha](https://community.mp3tag.de/u/Super_Arsha)
#### Post date: [January 28, 2011, 9:49am UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/13 "2011-01-28T09:49:56Z")

</div>

yes.

sorry but didn't work

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [January 28, 2011, 3:36pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/14 "2011-01-28T15:36:53Z")

</div>

so I see dano has already fixed Ohrenkino's string in the other post.  
no double posts please.

---

<div class="post-metadata">

### Author: ![Super\_Arsha](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@Super\_Arsha](https://community.mp3tag.de/u/Super_Arsha)
#### Post date: [January 28, 2011, 4:38pm UTC](https://community.mp3tag.de/t/add-parentheses-to-featured-artist/10701/15 "2011-01-28T16:38:34Z")

</div>

thank u and sorry for double posting.
