Adding track Numbers in a predifined sequence

Hi all, i want to assign odd track numbers to certain mp3 files and even track numbers to certain other files. I didn't find any such option in mpetag. I'm using v2.69. Any ideas?

1. Select the files to be numbered. 2. Action "Format value" ... or ... Convert "Tag -Tag" Field : TRACK Formatstring for odd numbers : $sub($mul(2,%_counter%),1) Formatstring for even numbers: $mul(2,%_counter%) Begin Action Group Format &TRACK#Set TRACK count 1,3,5,... odd

Action #1
Actiontype 5: Format value
Field ______: TRACK
Formatstring: $sub($mul(2,%_counter%),1)
End Action Group Format &TRACK#Set TRACK count 1,3,5,... odd (1 Action)

Begin Action Group Format &TRACK#Set TRACK count 2,4,6,... even

Action #1
Actiontype 5: Format value
Field ______: TRACK
Formatstring: $mul(2,%_counter%)
End Action Group Format &TRACK#Set TRACK count 2,4,6,... even (1 Action)

DD.20150331.0827.CEST

There is a self-extracting archive file, ...
which contains 23 TRACK related actions ...


20150331.Mp3tag.Actions.TRACK.zip (122 KB)
DD.20150331.2002.CEST

20150331.Mp3tag.Actions.TRACK.zip (122 KB)


Wow! thanks DetlevD. You solved my problem. I didn't understand what that code meant. but it worked. thanks for your time. Thankyou very much. :laughing: