INTERACT FORUM

Please login or register.

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

Author Topic: MC17 question - [track #] is padded with zeros when renaming, how to cancel?  (Read 1128 times)

ShayB

  • Junior Woodchuck
  • **
  • Posts: 97

hi,

when using the [Track #] in a formula everything looks OK but when that formula is used as the fileName in a rename process, a "0" is added to the left of the track#

it bothers me when I do a check whether my files have the correct name on the disk (based on the same rename formula)

note: this only happened in MC17 (not in earlier versions)
note: the padding is only when the track value is 0-9

how can I avoid it?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!

Padding track, season, and episode numbers in filenames is the default, and recommended.

But you can use this expression to remove the padding:
FormatNumber([Track #, 0], 0)
Logged
Matt Ashland, JRiver Media Center

ShayB

  • Junior Woodchuck
  • **
  • Posts: 97

Padding track, season, and episode numbers in filenames is the default, and recommended.

But you can use this expression to remove the padding:
FormatNumber([Track #, 0], 0)


thanks Matt
Logged
Pages: [1]   Go Up