# Automatically remove duplicate fields

**URL:** https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334
**Category:** General Discussion
**Created:** [January 30, 2025, 7:55pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334 "2025-01-30T19:55:50Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [January 30, 2025, 7:55pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/1 "2025-01-30T19:55:50Z")

</div>

Hello @LyricsLover,

I have an example Tag

Hello 120\\120

I take the command in Mp3tag: Remove Duplicate fields

Field: Hello

To remove the Duplicate data \\120

I noticed that the data \\120 disappears from the Hello Tag and that Mp3tag saves it in the audio file

This operation is done manually:  
Remove Duplicate fields

1st question: Is it possible for Mp3tag to do the operation automatically each time the data \\120 appears in the Hello Tag

2nd question: Is it possible to remove the data \\120 from the Hello Tag, like by an operation with a Refresh, without a save in the audio file by Mp3tag...

---

<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 30, 2025, 8:05pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/2 "2025-01-30T20:05:45Z")

</div>

> [@Sergius](#):
>
> 1st question: Is it possible for Mp3tag to do the operation automatically each time the data \120 appears in the Hello Tag

No. Every action has to be triggered explicitly by the user.

> [@Sergius](#):
>
> without a save in the audio file by Mp3tag...

No. Every change to the tag is a change to the file which has to be saved to take effect.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [January 30, 2025, 8:15pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/3 "2025-01-30T20:15:48Z")

</div>

Thanks @ohrenkino for your answers...

I think it would be nice if @Florian could add a choice: automatic or manual for some of his commands in Mp3tag

---

<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 30, 2025, 8:26pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/4 "2025-01-30T20:26:18Z")

</div>

I doubt that this will be implemented due to possible undesirable side effects.  
I bet that you have an action group that you use to unify the tags in your files.  
If would simply add the action to that action group and there you almost have the automatism

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [January 30, 2025, 9:11pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/5 "2025-01-30T21:11:03Z")

</div>

> [@ohrenkino](#):
>
> I bet that you have an action group that you use to unify the tags in your files.

Hello @ohrenkino, for the side effects following the automation, I do not have the knowledge on this subject, it is possible, I know that you have a very good knowledge, on the functions of the Mp3tag program...

I am doing tests for a group of actions of the tags in my files, to see the possibilities that Mp3tag offers in this area

You wrote some interesting things: If would simply add the action to that action group and there you almost have the automatism

Can you give me an example...

---

<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 30, 2025, 9:20pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/6 "2025-01-30T21:20:08Z")

</div>

> [@Sergius](#):
>
> Can you give me an example...

I assume that you have an action group that unifies tags like remove spaces, unwanted brackets, fields that you do not need.  
I also assume that you call this action group only for new files and not every time that you open MP3tag.  
And this special action group could be extended with action to remove duplicate fields.  
E.g. here I have an action group that adapts a certain podcast

 ![grafik](https://community.mp3tag.de/uploads/default/original/3X/b/8/b86e66e611e8637b812f01cb5d493b0d4358b6e7.png)  
It would be easy to add an action to remove duplicate fields.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [January 30, 2025, 11:32pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/7 "2025-01-30T23:32:29Z")

</div>

Hello @Ohrenkino, I find your test super interesting, I would like to reproduce this test, as you did

I could not find this Action page in Mp3tag, is it possible that I can also copy your data, to do the same tests as you...

---

<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: [January 31, 2025, 7:08am UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/8 "2025-01-31T07:08:21Z")

</div>

Such a copy would not help you at all, because you don't have the same audiobook files and naming scheme as @ohrenkino.

Actions and Actions Groups are very individual. They only work for a specific part of your collection (like filenames, tags, directory structure, covers, lyrics ...). And only for your collection with your current situation (like hard disc drives & letters, music/movie format and so on).

You could start reading about Action Groups here:

> **[Actions – Mp3tag Documentation](https://docs.mp3tag.de/actions/)**
>
> Documentation on Quick Actions and Action Groups that covers replace text, case conversion, tag to tag conversion, duplicate field handling, batch cover import/export, and more. Mp3tag is the universal Tag Editor.

---

<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: [January 31, 2025, 7:13am UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/9 "2025-01-31T07:13:33Z")

</div>

> [@Sergius](#):
>
> I could not find this Action page in Mp3tag

You can press the keys Alt + 6 or the menu Actions -\> Actions or click on the Actions icon in the Toolbar:  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/2/c/2c2ed9dbfb2348107a9a80899096b63bb101a6d1.png)

---

<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 31, 2025, 7:43am UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/10 "2025-01-31T07:43:13Z")

</div>

> [@Sergius](#):
>
> Action page

You open the collection of action groups via the menu Actions.

A copy of the data would only make sense if you booked the same podcast as I did and if you want to get the same manipulation - which I doubt.

The screenshot is introduced with

> [@ohrenkino](#):
>
> E.g.

which AFAIK indicates an example, in this case to illustrate an action group with a lot of actions.  
It would now be up to you to investigate how you could collect a number of actions in an action group that you carry out when you get new files and then add the action to remove duplicate fields there.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [January 31, 2025, 5:38pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/11 "2025-01-31T17:38:20Z")

</div>

> [@ohrenkino](#):
>
> If would simply add the action to that action group and there you almost have the automatism

> [@LyricsLover](#):
>
> Vous pouvez appuyer sur les touches Alt+ 6ou sur le menu Actions -\> Actions ou cliquer sur l'icône Actions dans la barre d'outils :  
> ![image](https://community.mp3tag.de/uploads/default/original/3X/2/c/2c2ed9dbfb2348107a9a80899096b63bb101a6d1.png)

A big thank you to both of you, @ohrenkino and @LyricsLover

I understand that I have to enter my own data, it's logical

Thank you, I understand better how to go to programming

I click on Actions  
I click on New  
Name of action group: I place my title, example Podcast Sergius  
Select action Type: Remove duplicate fields (example) `\\TRACKNUM`

In my work page, I added line

Remove duplicate fileds"`\\TRACKNUM`"

I can edit it and add other commands

I'm going to do some tests, it's very interesting...

ohrenkino, how to have this command, almost in automatism

---

<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: [January 31, 2025, 5:43pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/12 "2025-01-31T17:43:58Z")

</div>

Just a quick note (even if you say "example"):  
There is no official field like TRACKNUM.

We only have a [TRACK](https://docs.mp3tag.de/mapping/#track) and a [DISCNUMBER](https://docs.mp3tag.de/mapping/#discnumber).

Your initial example `120\\120` seems to be a [BPM](https://docs.mp3tag.de/mapping/#bpm), isn't it? 😉 😇

---

<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 31, 2025, 5:47pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/13 "2025-01-31T17:47:22Z")

</div>

> [@Sergius](#):
>
> Remove duplicate fields (example) `\\TRACKNUM`

That is not the correct syntax.  
It should only be `TRACKNUM` as you only reference the field name.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [January 31, 2025, 6:35pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/14 "2025-01-31T18:35:11Z")

</div>

> [@ohrenkino](#):
>
> That is not the correct syntax.  
> It should only be `TRACKNUM` as you only reference the field name.

Thanks @ohrenkino, for the correction 🙂 👍

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [January 31, 2025, 6:41pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/15 "2025-01-31T18:41:04Z")

</div>

@LyricsLover, you have only one correct answer and you are absolutely right (BPM)

... 😉

The TAG TrackNum exists in the BSI Info Editor...  
See my 3 images...

When you worked on my Tag Panel... You chose the Tag Track, because it is the standard and it works very well...

In my BSI Info Editor, when I program the only 2 Tags: Intro & Segue, because it is in seconds and not in Milliseconds, I end up with the Tag, TrackNum, which does not disturb the programming, that is why I do tests with this TAG before doing tests with the Tag BPM `120\\120` 😄 👍

 ![Tag TrackNum 01 (BSI Info Editor)](https://community.mp3tag.de/uploads/default/original/3X/a/7/a73427027c0e9df4650a52c3fa13f8d6d715a7e2.jpeg)  
 ![Tag TrackNum 02 (Mp3tag Metadata)](https://community.mp3tag.de/uploads/default/original/3X/b/4/b4561b850e129a1235d9ac4aa246474ca2c9571b.jpeg)  
 ![Tag TrackNum 03 (Mp3tag TrackNum TAG)](https://community.mp3tag.de/uploads/default/original/3X/3/d/3d74cde5dda2e44cb24942a1dc89a33e2ad6a12a.jpeg)

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [January 31, 2025, 7:38pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/16 "2025-01-31T19:38:33Z")

</div>

@LyricsLover and @ohrenkino

The final goal of my tests, I was thinking why not have the 2 BPM tags in one and the same Tag, because the value of the data is %bpm% for the 2 tags BPM (BPM) and BPM (TBPM)

Which would be recognized by the BSI program and all other programs

I use the id3.exe program, it's possible

and it's normal that the final result in Mp3tag will be BPM 120\\120, I would need an automatic correction... BPM 120, preferably, without saving the Audio file...

On the other hand, I learned a new programming in Mp3tag...

Thanks guys, for your help and your expertise... 👍

---

<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 31, 2025, 7:42pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/17 "2025-01-31T19:42:58Z")

</div>

> [@Sergius](#):
>
> Which would be recognized by the BSI program and all other programs

I think we discussed this - and "all" is definitely too all-encompassing.

> [@Sergius](#):
>
> why not have the 2 BPM tags

This would be removed if you had MP3tag run the removal of duplicate fields automatically.  
You would encounter one of the

> [@ohrenkino](#):
>
> possible undesirable side effects

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [January 31, 2025, 7:56pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/18 "2025-01-31T19:56:05Z")

</div>

@LyricsLover and @ohrenkino

ohrenkino, I know all this, I read you...

I was just thanking you both for your help, I was just explaining the purpose of my research...

In the end, I know that I can't do this programming with Mp3tag, that's okay...

I repeat myself, I thank you again, for your help to both of you...

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [February 1, 2025, 5:00pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/19 "2025-02-01T17:00:31Z")

</div>

@ohrenkino and @LyricsLover

Hello guys, I did a test: Here is a little video, about the command: Actions

About BPM & TBPM - Remove duplicate fields (Data)

You taught me a new command that I did not know, I find it great, I understand the basic principle of programming: Actions

Unfortunately the current programming about the 2 BPM tags, does not meet my needs...

On the other hand I will make a little Actions programming: To transfer several images from my Audio files at the same time in my images folder, in 2 small mouse clicks, it will save me time

A big thank you again to both of you... 👍

![-BPM & TBPM Remove duplicate fields-Test Sergius-Saterday 1 fév 2025 #20](https://community.mp3tag.de/uploads/default/original/3X/6/9/69c7e4e7cdd00758c591dd97845c950bad58239f.gif)

---

<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: [February 1, 2025, 5:45pm UTC](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334/20 "2025-02-01T17:45:07Z")

</div>

> [@Sergius](#):
>
> Unfortunately the current programming about the 2 BPM tags, does not meet my needs...

What exactly do you try?  
Please show us a screenshot with all the details of your Action (the one that manipulate your BPM "BPM (BMP & TBPM) Remove duplicate fields")

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

[Next page](https://community.mp3tag.de/t/automatically-remove-duplicate-fields/67334.md?page=2)
