In actions to rename files in Mp3Tag for Mac: Is it possible to code the formula to (in my case) use ALBUMARTISTSORT if the tag exists, but use ALBUMARTIST if it doesn't?
See the scripting function
Mp3tag offers various built-in scripting functions, which can be used at various places in the program.
These functions offer advanced display and converting options and are to be used in combination with Format Strings and Available Placeholders .
General Functions
Replace
$replace(string,from,to) or $replace(string,from1,to1,from2,to2,...)
Example: $replace(%title%,_,-)
This example replaces all underscores with dashes. You can provide additional pairs of from/to as parameters.
Case Co…
esp. $if2.
$if2(%albumartistsort%,%albumartist%)