zero-padding track no.


#1

Hi can anyone suggest a way (regex?) to zero-pad track numbers: 01 etc.


#2

Create a new "Format values" action and apply "$num(%track%,2)" on the "TRACK" field. :slight_smile:


#3

and it works!

thanks

(sorry for teh n00b question)


#4

Any way to tailor this to the total number of tracks in the album? (ie, if there are only 8, then don't pad, if there are 12, pad?)


#5

Guess not - do you store the total number of tracks (like 5/12 for example)?