Are there any good language descriptions for the MTA files?
For example, my intention is to create an action to create a Decade tag using the digits from the Year or Original Year tags, if they exist. Otherwise it is filled with "Unknown".
I somehow figured out how to cobble together a couple of actions in an action group and then hand edit the MTA file, as below, which does seem to work for at least one scenario, but I do have to test all boundary conditions.
[#0]
T=5
F=DECADE
1=$if2(%origyear%,$if2(%year%,Unknown))
[#1]
T=4
F=DECADE
1=^(\\d\\d\\d)\\d
2=$1$trim(0s)
3=0
Excuse the superflous "$trim". but I did not how to escape the "0" after the "$1" and not make it look like "$10". This is not very elegant. I would love to learn how to script Mp3tag better.
I obviously found one or two pages on scripting and did some trial an error experimentation. I was a programmer in a previous life, though I never used scripting languages and almost never used regexp. I would love any pointers / URLs / Tutorials with annotated examples to improve my scripting of Mp3tag. Any suggestions?