I have a FORMAT statement that cuts lengthy titles to a maximum length at the closest word break, but only if the title is too long (i.e., I don't want to slowly eat away at the title each time I run the action). Action #1 below works just fine for this, but not if it comes after Action #0.
Here's the Action Group = test.mta
1=$if($eql(%album%,'Any Other Album'),$regexp(%title%,'\\d+',),%title%)
1=$if($eql(%album%,'The John Batchelor Show'),$if($grtr($len(%title%),20),$regexp($left(%title%,20),'\\s[^\\s]*$',),%title%),%title%)
#1 stops working in the above .mta, but if you change \\d+ to \\d in #0 then #1 works just fine. Alternately you can flip the order of #1 and #0 and #1 will work.
The syntax of #0 and #1 are both correct, and work fine when used alone. Together #0 breaks #1.
This was tested with a fresh install of the latest version of Mp3tag.
test.mp3 (8.79 KB)
test.mta (251 Bytes)