Number of zeros in the track

Guys, how do I format the number counted from zeros to the track number?

Exemple: 01,02,03,04,05,06,07,08,09,10,11,12…

In my widget, it looks like this:1,2,3,4,5,6,7,8,9,10,11,12…

$if(tc(len,mi(track)+1)<2,tc(lpad,mi(track)+1,2,0),mi(track)+1)$

Let me know it that is what you meant and if it works

Boy, did it work! Thank you for the formula. I appreciate it in advance.

You’re welcome!
If you need/want clarification, let me know

why not just tc(lpad, mi(track) + 1, 2, 0)? tc(lpad) simply does nothing when the input string is longer than desired length.

2 Likes

Even better!
I see I still have things I can learn

1 Like

Hey RonC, How do I create pages in the playback queue?

Example:

Page 1
“Filename1
Filename2
Filename3
Filename4
Filename5
Filename6”

Page 2
Filename7
Filename8
Filename9
Filename10
Filename11
Filename12

Page 3…

I’m not sure what you mean

I meant how to have a playback queue with pages with a song limit, for example:

Page 1:
Track1
Track2
Track3
Track4
Track5
Track6

When I move from track 6 (page 1) to track 7 (page 2), page 1 will be advanced to page 2.

Page 2:
Track7
Track8
Track9
Track10
Track11
Track12

Same thing between pages 2 and 3, I advance from track 12 (page 2) to track 13 (page 3), and page 2 will be advanced to page 3.

Page 3
Track13
Track14
Track15
Track16
Track17
Track18

I wish there was a formula for that! Do you understand?

I don’t understand where/how you want to see the pages