This is a bit of a how to question. It is frustrating when MP3's have the Featuring Artist in addition to the main album artist in the Artist field as then when you do the tag to filename function it puts the songs with this format in a separate folder to those with just the main artist if you are using the \\artist\album name\ track name diretory structure.
What I want to do in my actions is basically if in the artist field contains
featuring I want to have Mp3Tag delete everything from the word Featuring onwards. Is this possible in anyway?
You may create an action of the type "Guess value" for ARTIST.
Guessing pattern would be:
%artist% featuring %dummy%
Please note that the action is case sensitive in respect to the string constant (;-)): i.e. you have to write the "Featuring" just the way it is found in the ARTIST field, e.g. "Featuring" or "featuring".
This pattern does not cater for other versions of "featuring", like "ft.", "feat." etc.
Thanks mate, quick response and worked like a charm! just created separate actions for each of the options ppl use for Featuring with an uppercase and lower case version!
Use the tag "ALBUMARTIST" instead of "ARTIST" for your folder structure
To my opinion this is a much better solution than get of rid of additional informations.
The pssibility that some songs of an album have a different artist than the albumartist is very common regardless of "Featuring".
yeh Artist does seem like an appropriate place for that information but as my music collection is large and has evolved over yrs I used the format that if a song is on an album but has another contributor etc I do the following: songtitle (Featuring secondary artist)
Resurrecting a 12 yr old thread as it seems the closest in my searches to what I want to achieve and I’m nooooo programmer.
In the title field I have something like:
Ain’t So (feat. LSK)-8A
I want to have:
Ain’t So-8A
I want to have an action that removes the space before the bracket, the 2 brackets and everything in between. I know there are various permutations of the “feat.” expression, but if I can get this one dialled in I can reverse engineer the rest I think.
Many thanks to anyone who can help…this is pretty much the last step in my quest.
If you are sure that this works for all your title variations, you can adjust it to an Action from type "Replace with regular expression".
Please not that the above regular expression replaces everything between your brackets.
Otherwise you have to define your "various permutations of the “feat.” expression" with something like $regexp(%TITLE%,(.*) \([feat.|ft|feat].*\)(.*),$1$2)
A more precise attempt would be: $regexp(%TITLE%,'\s*\((?:feat\.?|ft\.?|featuring)[^)]*\)',)
This one replaces the matching "featuring"-part, inlcuding the brackets itself, with nothing = removes it.
This would also allow multiple pairs of brackets, where only the pair inlcuding "featuring" would be replaced.
I realised that occasionally there are other things in brackets I want to keep ie (dub) (version) etc, so the more precise version is better. I tried it in Convert -> Tag-Tag and it worked perfectly! The only small issue I’m having that might be Mac-related, is trying to implement that as an action using "Replace with regular expression".
As I said it’s not working yet but this is how it looks so far as an action:
Please note that @LyricsLover did not use an action but the converter "Tag-Tag"
For the action you have to split up the scripting function:
Field: TITLE
Regexp: (.*) \([feat.|ft|feat].*\)(.*)
Replace: $1$2
ohrenkino and LyricsLover, thank you both so much, both ways work perfectly, w/ upper/lower case and the bonus ‘featuring’.
Great software and much appreciated.