zero-padding track no.


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


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


and it works!


(sorry for teh n00b question)


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?)


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