Delete Artist duplicate

Hello!

Maybe someone else once opened a thread similar to this one, but I have actually searched the forum and couldn't solve my problem.

I'm trying to eliminate duplicate artists from the %artist% field. Suppose I have in this field "Frank Sinatra, Frank Sinatra & Mia Farrow" and would like to replace it with just "Frank Sinatra & Mia Farrow".

I have tried %dummy%, %artist% but it leaves me the field like this ",Frank Sinatra, Frank Sinatra & Mia Farrow".

Can someone give me a hand?

The attempt to split the field %artist% with an action of the type "Guess value"
Source: %artist%
Pattern: %dummy%, %artist%
gave the result "Frank Sinatra & Mia Farrow", whereas the original was "Frank Sinatra, Frank Sinatra & Mia Farrow"

1 Like

I am also having issues using %dummy% in an action, mp3tag doesn't seem to be recognising it anymore.

You would have to supply some more details like

  • what the data looks like,
  • which action you use
  • which outcome you expect.
    Without this information, I can assure you that %dummy% gets "recognized" like any other part of a pattern.
1 Like

Excellent, if it works! I was wrong was to choose the right option type "Guess value".

Thanks you very much

It turns out I was using the wrong action... I was using format, not guess values.

Is there a possibility that if the artist is not the same as the next one, he will not remove the artist or change it?

I'm having problems changing several music pieces because sometimes it's the same format as %artist%, %artist% but with a different artist, but also eliminated.

Is it possible to make some kind of condition?

It's hard, isn't it?

I am not quite sure if this means a comparison between 2 different files.
If that is the case, then it is not possible.

No, it's the same file.

I would filter for those that should be treated:
NOT "$strstr($mid(%artist%,$strstr(%artist%,', '),$len(%artist%)),$left(%artist%,$sub($strstr(%artist%,','),1)))" IS 0