# Need help in the "Filename - Tag"

**URL:** https://community.mp3tag.de/t/need-help-in-the-filename-tag/16680
**Category:** General Discussion
**Created:** [March 9, 2015, 1:49pm UTC](https://community.mp3tag.de/t/need-help-in-the-filename-tag/16680 "2015-03-09T13:49:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Pastore\_27](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/7feea3/32.png) [@Pastore\_27](https://community.mp3tag.de/u/Pastore_27)
#### Post date: [March 9, 2015, 1:49pm UTC](https://community.mp3tag.de/t/need-help-in-the-filename-tag/16680/1 "2015-03-09T13:49:47Z")

</div>

Hello,

I want to delete the word "Feat." in the "Artist" block, and still have the "Feat." in my .mp3 file title.  
How to do? Is it possible?

This is what I have actually:  
 ![](http://i.imgur.com/K1YTdMt.jpg)

What I want:

**Artist: Sam Smith, John Legend  
title: Lay Me Down**

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: [March 9, 2015, 2:32pm UTC](https://community.mp3tag.de/t/need-help-in-the-filename-tag/16680/2 "2015-03-09T14:32:02Z")

</div>

> [@Pastore #27](#):
>
> Hello,
> 
> I want to delete the word "Feat." in the "Artist" block, and still have the "Feat." in my .mp3 file title.  
> How to do? Is it possible?  
> Thanks.

It is a little tricky (no, it is impossible in one go) to replace the feat. with a comma.  
So you have to import the whole string into artist and then execute an action of the type "Replace" for ARTIST.  
If you wanted to delete the part behind "feat." you could have used  
%artist% feat. %dummy% - %title%  
or if you would have liked to get both names in to ARTIST, this would have worked:  
%artist% feat. %artist% - %title%

But so ... you have to do a post-import-treatment

---

<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: [March 9, 2015, 2:44pm UTC](https://community.mp3tag.de/t/need-help-in-the-filename-tag/16680/3 "2015-03-09T14:44:38Z")

</div>

> [@Pastore #27](#):
>
> Hello, I want to delete the word "Feat." in the "Artist" block, and still have the "Feat." in my .mp3 file title. How to do? Is it possible? What I want:  
> **Artist: Sam Smith, John Legend  
> title: Lay Me Down**...

1. You do not want to change the filename.
2. You want to replace the string ' Feat. ' with the string ', ' in the tag-field ARTIST.  
You can ...

... use an action "Replace" ...  
Field: ARTIST  
From: ■Feat.■  
To: ,■  
Note: ■ represents here the space character.

... or use an action "Format value" on the tag-field ARTIST ...  
with Formatstring: **$replace(%ARTIST%,' Feat. ',', ')**

DD.20150309.1646.CET

---

<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: [March 9, 2015, 3:43pm UTC](https://community.mp3tag.de/t/need-help-in-the-filename-tag/16680/4 "2015-03-09T15:43:10Z")

</div>

> [@Pastore #27](#):
>
> Hello, I want to delete the word "Feat." in the "Artist" block, and still have the "Feat." in my .mp3 file title. How to do? Is it possible? ... What I want:  
> **Artist: Sam Smith, John Legend  
> title: Lay Me Down**  
> Thanks.

Maybe I misunderstood the given situation in my first attempt, so here is another proposal, which uses the interactive converter dialogs.

**1. Convert "Filename - Tag" %ARTIST% Feat. %FEAT% - %TITLE% ARTIST: Sam Smith FEAT: John Legend TITLE: Lay me down 2. Convert "Tag-Tag" Field: ARTIST Formatstring: %ARTIST%', '%FEAT% 3. Convert "Tag-Tag" Field: FEAT Formatstring: $char(0)**

... or ...

**1. Convert "Filename - Filename" old: %1 Feat. %2 - %3 new: %1, %2 - %3###%1 Feat. %2 - %3 2. Convert "Filename - Tag" Formatstring: %ARTIST% - %TITLE%###%DUMMY% 3. Convert "Filename - Filename" old: %1###%2 new: %2**

Here is a proposal, which uses Mp3tag actions.  
The actions can be assembled into one action group, which can be executed at once.

**1. Action "Guess values" Source: %\_FILENAME% Formatstring: %ARTIST% Feat. %FEAT% - %TITLE% 2. Action "Format value" Field: ARTIST Formatstring: %ARTIST%', '%FEAT% 3. Action "Format value" Field: FEAT Formatstring: $char(0)**

DD.20150309.1815.CET

---

<div class="post-metadata">

### Author: ![Pastore\_27](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/7feea3/32.png) [@Pastore\_27](https://community.mp3tag.de/u/Pastore_27)
#### Post date: [March 14, 2015, 2:40pm UTC](https://community.mp3tag.de/t/need-help-in-the-filename-tag/16680/5 "2015-03-14T14:40:01Z")

</div>

Thanks to you DetlevD and ohrenkino. It's just what I need, really thank you, appreciate your help.

But I have a question about this:

1. 

Convert "Filename - Tag"  
%ARTIST% Feat. %FEAT% - %TITLE%

ARTIST: Sam Smith  
FEAT: John Legend  
TITLE: Lay me down

1. 

Convert "Tag-Tag"  
Field: ARTIST  
Formatstring: %ARTIST%', '%FEAT%

1. 

Convert "Tag-Tag"  
Field: FEAT  
Formatstring: $char(0)

Is the part. 3 is important, or It's not necessary ? What it do exactly ?

Thanks again.

---

<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: [March 14, 2015, 4:05pm UTC](https://community.mp3tag.de/t/need-help-in-the-filename-tag/16680/6 "2015-03-14T16:05:01Z")

</div>

> [@Pastore #27](#):
>
> ... I have a question about this:  
> 3.  
> Convert "Tag-Tag"  
> Field: FEAT  
> Formatstring: $char(0)  
> Is the part. 3 is important, or It's not necessary ? What it do exactly ?

Wasn't the result obvious in the dialog "Extended Tags..."?

This example of using the converter "Tag-Tag" demonstrates how to remove a tag-field by setting the tag-field to a null string, giving the same result like the action "Remove fields".

If you want to keep the tag-field FEAT, then do not apply step 3.

DD.20150314.1805.CET
