The second parameter is optional and specifies additional characters that triggers upper case. 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. I got the idea for implementing the scripting functions from my favourite audio player foobar2000. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |