INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Formatting of track number  (Read 708 times)

DJ_Hazelwood

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 294
Formatting of track number
« on: August 29, 2019, 11:43:17 am »

Hi!

I noticed some strange behaviour with track numbers:

- when I rename a file within MC and I use [Track #] then I get the track numbers with 2 digits (a leading zero for tracks 1 to 9), that's exactly what I want
- when I do a sync to a handheld (into a directory on the PC in my case) and I use the same expression [Track #], then I don't get the leading zeros  ?

I'm not sure if I'm missing something or if this function has changed ...

Thanks for help  :)


Logged

MGD_King

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 548
  • It's not easy being me, but it sure is fun!
Re: Formatting of track number
« Reply #1 on: August 29, 2019, 01:18:15 pm »

- when I do a sync to a handheld (into a directory on the PC in my case) and I use the same expression [Track #], then I don't get the leading zeros  ?

I noticed the same thing when I synced to a USB device. I had to wind up converting the files to a temp directory and then manually copying them over to the USB drive.
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: Formatting of track number
« Reply #2 on: August 29, 2019, 02:22:07 pm »

I guess in Handheld rename rule you need to use padnumber() function
So filename rule could be e.g. something like this: PadNumber([Track #],2) - [Name]

2 meaning minimum two digit presentation...
Logged

DJ_Hazelwood

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 294
Re: Formatting of track number
« Reply #3 on: August 30, 2019, 12:32:53 am »

That's exactly what I wanted, works perfect  ;D

Thanks!
Logged
Pages: [1]   Go Up