

I got the idea for implementing the scripting functions from my favourite audio player foobar2000. Mp3tag features a set of built-in scripting functions which can be used at various places through the program.These functions are offering advanced display and converting options and giving you the power to get the most outof Mp3tag. artist - ALBUM - 01 tItle converts to Artist - album - 01 title Case conversion UPPER Command: $upper(string) Example: $upper(%artist% - %album% - %track% - %title%) This example converts the given string to upper case. The second parameter is optional and specifies additional characters that triggers upper case. artist - ALBUM - 01 tItle converts to Artist - ALBUM - 01 TItle Case conversion Sentence Command: $caps3(string) Example: $caps3(%artist% - %album% - %track% - %title%) This example converts the given string to first letter upper case. artist - ALBUM - 01 tItle converts to Artist - Album - 01 Title Case conversion Normal (without changing uppercase characters) Command: $caps2(string) Example: $caps2(%artist% - %album% - %track% - %title%) This example converts the given string to normal case without changing uppercase characters.

Case conversion Normal Command: $caps(string.) Example: $caps(%artist% - %album% - %track% - %title%) This example converts the given string to normal case. Remove invalid characters from file name/file paths Command: $validate(filename,to) Example: $validate(%artist% - %album% - %track% - %title%,-) This example replaces all invalid characters (/?*"|:) to dashes. You can provide additional pairs of from/to as parameters. The scripting functions are available at these parts of Mp3tag: File view Export Converter Tag - Filename Converter Filename - Filename Action, Format value Action, Replace with regular expressions The following scripting functions are available: Replace Command: $replace(string,from,to) or $replace(string,from1,to1,from2,to2.) Example: $replace(%artist% - %album% - %track% - %title%,_,-) This example replaces all underscores to dashes. I first used a different syntax but now the syntax of both programs should be compatible. These functions are offering advanced display and converting options and giving you the power to get the most out of Mp3tag. Mp3tag Help - Scripting functions Scripting functions Mp3tag features a set of built-in scripting functions which can be used at various places through the program.
