I'm trying to tag my files but keep getting [ INVALID $IF SYNTAX ] placed onto the designated tag field.
What I'm trying to do is have mp3tag append a custom text if a certain word is detected in a field.
Album Artist: 빅뱅 (BIGBANG)
I've tried creating an action
Format Value Field: ALBUMARTIST Format String: $if($eql(%artist%,BIGBANG),빅뱅 (BIGBANG),%albumartist%)
While it works when I create it under the Action menu, I have 350+ more of these. It's a list containing the Korean Letters and English Letters combined of the Artist so it would be quite difficult to do these actions 1 by 1.
I tried editing the .mta file to manually insert the remaining Artists but it keeps showing that Invalid Syntax error in mp3tag.
I tried this $if($eql(%artist%,'BIGBANG'),'빅뱅 ('%artist%')',%albumartist%) in an .mta file and it works fine.
Your issue is coming from your .mta file encoding. You might want to use Notepad++ for this purpose.
It's easier because I don't have to keep clicking duplicate and manually inserting 300+ different artists with the same coding. I can just edit and insert inside the mta file. I'm not changing it in any way other than inserting more actions in the same pattern.
That format also works for me but once I started adding more actions it starts giving me the error.
I tried Notepad++ and no luck. I've been editing with Sublime Text. I've also tried saving in a bunch of different encodings (UTF-8, Unicode etc.) no luck either. Even when I manually add the action through mp3tag, it still converts the korean letters into those weird letters.
I have uploaded the mta file if anyone wants to check it