INTERACT FORUM

Please login or register.

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

Author Topic: Rename with Disc Number  (Read 1491 times)

edbro

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 734
Rename with Disc Number
« on: August 24, 2017, 09:17:30 pm »

I would like to set a rename scheme as such: [Disc #]-[Track #]. [Name]. However, if an album doesn't contain a disc number then it would simply be named as [Track #]. [Name]. All of my single disk albums are blank for the disk number. When I apply the rename scheme it will rename all of my single disc albums to Unknown Disc #-[Track #]. [Name]. Is there a way to have a conditional rename so that if there is no disk number then it will only use track and name?
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: Rename with Disc Number
« Reply #1 on: August 24, 2017, 09:20:56 pm »

Code: [Select]
if(isequal([disc #],0,5),[disc #]-[Track #]. [Name],[Track #]. [Name])
Logged

edbro

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 734
Re: Rename with Disc Number
« Reply #2 on: August 24, 2017, 09:27:52 pm »

Beautiful. Thank you!
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/
Pages: [1]   Go Up