I am trying to format %ARTIST%, %TITLE%, %MIXARTIST% & %TITLE% based on the %ARTIST% tag and portions of the %TITLE% tag. Artist: Ariana Grande Title: Problem (feat. Iggy Azalea) [Dawin Remix]
Expected Results Artist: Ariana Grande feat. Iggy Azalea Title: Problem {Dawin Remix} MixArtist: Dawin Subtitle: Remix
Import Tag Fields Field:TITLE Format:%title% (feat. %featartist%)
Format Tag Field Field:ARTIST Format:%artist% feat. %featartist%
Format Tag Field Field:MIXARTIST Format:$regexp(%title%,.*\((.*) .+\),$1)
Format Tag Field Field:SUBTITLE Format:$regexp(%title%,.*\(.* (.+)\),$1)
Format Tag Field Field:TITLE Format:%title% {%MIXARTIST% %subtitle%}
Remove Fields Field:%FEATARTIST%
Results Artist (without quotes): "Ariana Grande feat. " Title: Problem (feat. Iggy Azalea) [Dawin Remix] {Remix] Remix]} Subtitle: Remix] MixArtist: Remix]
Hey @djdizzle , it looks like you're using the Mac version of Mp3tag and your question is related to Mp3tag for Mac. Can you use the Mac category for posting those questions, so that people are not confused by terms and labels they might not be familiar with?
Thanks!
Edit: Thanks for clarification, I'm moving this topic to Mac
Action #1 adjusts 3 tag fields at once: everything in front of the opening parentheses ( is kept in field TITLE), everything between (feat.) and the closing parentheses is moved to field FEATARTIST) and everything from within the square brackets [...] is moved to field MIXARTIST.
The contents of field MIXARTIST are reused in action #3 (you wanted to have both Dawin and Remix in the TITLE field.
Finally, in action #4, field MIXARTIST is split into MIXARTIST and SUBTITLE. Splitting is performed in action Import Tag Field by using the same placeholder in both Source format and Formatstring (also, see documentation),
This is possible by splitting the combined temporary field MIXARTIST into the final MIXARTIST and SUBTITLE by use of two actions Format Tag Field with regular expressions.
Import Tag Fields Source Format:%title% Formatstring:%title% (feat. %featartist%) [%mixartist%]
Format Tag Field Field:ARTIST Format:%artist% feat. %featartist%
Format Tag Field Field:TITLE Format:%title% {%mixartist%}
Format Tag Field Field:SUBTITLE Format:$regexp(%mixartist%,.* (.+),$1)
Format Tag Field Field:MIXARTIST Format:$regexp(%mixartist%,(.+) .*,$1)