Hi all, more of a question how are users are handling the following. I recently started tagging some CD Albums whereas some titles have special characters such as ":" or "/" as part of the title, e.g. "My Title Part II: This / That" (see screenshot for reference).
By default (?) mp3tag replaces all these with an "_" underscore. My question would be: is there any kind of best practise for this in order to keep the filenames intact when I change the files names based on my titles?
Is there anything that others recommend? I am new to mp3tag and not sure if there is a regex pattern that is recommended in this specific case. Would love to hear how other users replace these chars for their filenames...
The actual TITLE tag remains intact without change. Only the filename is changed by mp3tag based on removing exceptional characters that are not permitted by the OS. Using the $validate function can ensure this is followed and even allows the user to define what the replacement character will be.
I've moved this to the Mac category, and on macOS the $validate() scripting function is not available.
In your case, Mp3tag automatically replaces characters that can't be used in filenames on macOS (while preserving the contents of the title field, as already pointed out by @MotleyG).
If you want to use a different replacement character, you can use the $replace() scripting function, e.g., $replace(%title%,:,-,/,-) to replace the special chars by dashes.
There is also the configuration setting Replace invalid NTFS characters at Preferences → General → Filenames which is most likely already enabled in your configuration.
If enabled, characters that are not allowed in Windows NTFS filenames are automatically replaced by an underscore _ on field lookup. The following characters are replaced: \ : / * ? < > | ".
Enabling the automatic replacement also prevents folder creation when using the converter Tag - Filename with fields that contain the forward slash character /.