# Replace Repeated Tags

**URL:** https://community.mp3tag.de/t/replace-repeated-tags/12682
**Category:** Support
**Created:** [November 10, 2011, 7:01pm UTC](https://community.mp3tag.de/t/replace-repeated-tags/12682 "2011-11-10T19:01:07Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![a10818264](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/6bbea6/32.png) [@a10818264](https://community.mp3tag.de/u/a10818264)
#### Post date: [November 10, 2011, 7:01pm UTC](https://community.mp3tag.de/t/replace-repeated-tags/12682/1 "2011-11-10T19:01:07Z")

</div>

Hi Everyone,  
I have some audio files where the Album name is mistakenly tagged as Artist name.  
Now, Both Artist and Album Tags have the same data(tag).

**Ex:**  
_Case1)  
Artist: denisrichie  
Album: denisrichie_

In another case,  
Artist: steveunemploy  
Album: steveunemploy  
  
_...and so on case3,4,5,6,7,8._

In all the cases both Artist and Album tags are same. Now, i want to delete(remove) Artist field since both are same. I want to do this only when both the fields are same.

How can i Do it? Thanks in Advance. Please be clear, since i'm a newbie in using some features of MP3TAG v2.48

---

<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: [November 10, 2011, 7:11pm UTC](https://community.mp3tag.de/t/replace-repeated-tags/12682/2 "2011-11-10T19:11:32Z")

</div>

> [@a10818264@nepwk.com](#):
>
> .... I want to do this only when both the fields are same.

The following should work fine with 2.49 - so update if 2.48 fails.  
Proceed as follows:

load the files into mp3tag.  
Press F3 to display the filter entry box at the bottom if is not already there.  
Enter the following line as filter (including the quotation marks):  
"$if($eql(%artist%,%album%),1,0)" IS 1

this filters all the files where artist and album have the same contents.  
Select all tracks in the files list (press CTRL-A)  
Turn to the tag panel on the left and navigate to the tag that you want to delete and select "delete" (or "remove" I do not know how it shows up in the English version) from the drop down list (which now shows "keep") "delete" (or "remove" I do not know how it shows up in the English version).  
Press Ctrl-S to save the changes.  
Done.

---

<div class="post-metadata">

### Author: ![a10818264](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/6bbea6/32.png) [@a10818264](https://community.mp3tag.de/u/a10818264)
#### Post date: [November 10, 2011, 7:48pm UTC](https://community.mp3tag.de/t/replace-repeated-tags/12682/3 "2011-11-10T19:48:30Z")

</div>

> [@ohrenkino](#):
>
> The following should work fine with 2.49 - so update if 2.48 fails.  
> Proceed as follows:
> 
> load the files into mp3tag.  
> Press F3 to display the filter entry box at the bottom if is not already there.  
> Enter the following line as filter (including the quotation marks):  
> "$if($eql(%artist%,%album%),1,0)" IS 1
> 
> this filters all the files where artist and album have the same contents.  
> Select all tracks in the files list (press CTRL-A)  
> Turn to the tag panel on the left and navigate to the tag that you want to delete and select "delete" (or "remove" I do not know how it shows up in the English version) from the drop down list (which now shows "keep") "delete" (or "remove" I do not know how it shows up in the English version).  
> Press Ctrl-S to save the changes.  
> Done.

Hi ohrenkino,  
A good idea, but did not work. It's displaying nothing(no files) in both the versions.  
Perhaps, we need to try something else.

Edit: It Worked, i had not added : ' IS 1 '  
Thanks ohrenkino, thats was a great idea.

---

<div class="post-metadata">

### Author: ![a10818264](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/6bbea6/32.png) [@a10818264](https://community.mp3tag.de/u/a10818264)
#### Post date: [November 11, 2011, 1:53pm UTC](https://community.mp3tag.de/t/replace-repeated-tags/12682/4 "2011-11-11T13:53:50Z")

</div>

I have an another question, a bit similar one.  
How can i tag the album(tag) as Folder Name?**(only when the album field is empty)**

Ex:  
Album: --Empty-- ---\> Album: Folder Name

Also, how can i delete(or replace) Title Tag which has Album name in it.

Ex:  
Title: Album-Name 01 ---\> 01/Track 01.

---

<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: [November 11, 2011, 3:16pm UTC](https://community.mp3tag.de/t/replace-repeated-tags/12682/5 "2011-11-11T15:16:30Z")

</div>

> [@a10818264@nepwk.com](#):
>
> I have an another question, a bit similar one.  
> How can i tag the album(tag) as Folder Name?**(only when the album field is empty)**
> 
> Ex:  
> Album: --Empty-- ---\> Album: Folder Name

Apply a filter:  
%album% IS ""

Use the converter "Filename - Tag" and enter a mask like this:  
%album%\%dummy%

The preview function in that converter will show you the probable result.

---

<div class="post-metadata">

### Author: ![a10818264](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/6bbea6/32.png) [@a10818264](https://community.mp3tag.de/u/a10818264)
#### Post date: [November 12, 2011, 2:42am UTC](https://community.mp3tag.de/t/replace-repeated-tags/12682/6 "2011-11-12T02:42:57Z")

</div>

> [@ohrenkino](#):
>
> Apply a filter:  
> %album% IS ""
> 
> Use the converter "Filename - Tag" and enter a mask like this:  
> %album%\%dummy%
> 
> The preview function in that converter will show you the probable result.

That Worked.  
Any idea How i can Add an extra detail to existing Tag?  
Something like this:  
Tag: ABCD, BCDE, CDEF \>\>\> ABCD-TAG, BCDE-TAG, CDEF-TAG.  
I mean i need to add a phrase to all those tags.

---

<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: [November 12, 2011, 8:55am UTC](https://community.mp3tag.de/t/replace-repeated-tags/12682/7 "2011-11-12T08:55:22Z")

</div>

> [@a10818264@nepwk.com](#):
>
> That Worked.  
> Any idea How i can Add an extra detail to existing Tag?  
> Something like this:  
> Tag: ABCD, BCDE, CDEF \>\>\> ABCD-TAG, BCDE-TAG, CDEF-TAG.  
> I mean i need to add a phrase to all those tags.

Have a look at the FAQs - this is one of the really frequently asked questions:  
[/t/967/1](https://community.mp3tag.de/t/967/1)

As a format string any combination of literals and contents of tag-variables is allowed. Tag-variables are enclosed by the % character, e.g. %title%  
f you want to append TITLE by "Best stuff", use the string  
Best stuff - %title%

And another thing: if you have further questions please start a new thread as it would be easier to judge from the topic what the problem is - also, if others search the forum, it makes it simpler to rule out the non-hits...

---

<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: [February 9, 2026, 12:23pm UTC](https://community.mp3tag.de/t/replace-repeated-tags/12682/8 "2026-02-09T12:23:26Z")

</div>


