What i would like to do is to compare Artist and Title tag and remove the Artist from the title tag.
Filename is: Omega - Desafinao Live - Omega - DJ Santana - Merengue No Intro Steady - 133BPM
Artsti Tag is: Omega
Title Tag is: Desafinao Live - Omega - DJ Santana - Merengue No Intro Steady - 133BPM
I know i could use the filename to tag with a string such as %artist% - %title% - %dummy% - %title%.
The problem is that the filenames on this folder is a mess and not in the same form so it would be easier to work the tags first and the transfer everything to the filename later.
Also i would like to know if there is a way to transform the title to this form: Desafinao Live [DJ Santana] [Merengue No Intro Steady]
The action above helped me with some of the files but as i wrote before most of the filenames and the tags are a mess and not in the same form.
What i would like to know is if there is a way to compare the Artist tag and the Title tag and remove the part of the Title tag that exist in the Artist tag.
If you look closely you will discover that my suggestion did not use the filename.
If the strings do not show the same pattern then it is fairly likely that each of these patterns has to be dealt with separately.
E.g. even with a detection of the artist name (with perhaps the function strstr()) it would be different if there that name is found at the beginning or at the end.
Also, replacing the parenthesis would probably not work.
You might have noticed that my suggestion does it in one go.
And if you found that
it is fairly probable that the separation between the individual parts will differ.
So show us the pattern of the next bunch of files with the same pattern and there will probably be a solution.
Second one worked perfectly, at least to the ones i checked because i have to check 800 files.
It is really weird that the tags and the filenames are so messy because this folder is from a Dj Pool and it looks like they don't give a shit about their Tagging system.
I Observed that you weren't using the Filenames.
Believe me i have spent so much time trying to correct these files and i don't want to waste your time also, i found at least 19 different naming patterns between these 800 files, i was thinking to give up but the solution above looks like it's working and now am trying to check if this removed the artist tag from the title tag.
From what i can see this worked perfectly except the occasion of having the "artist tag" at the begging of the Title tag