Page 1 of 1

naming format to specific folder, based on year

Posted: 22 Apr 2017, 12:20
by bigsmall999
I am currently using a naming format that organises my movies into folders by year, within the 'movies' folder:

Code: Select all

F:/Movies/{y}/{ny}/{ny} [{af}]
e.g.:

Code: Select all

F:/Movies/2016/10 Cloverfield Lane (2016)/10 Cloverfield Lane (2016) [6ch].mp4
Due to the size of my library, I have had to split it into two main folders:

E:/Movies - contains years 1900-1999
F:/Movies - contains years 2000-

Is there a way to write the naming format so it will select the correct main folder, based on the year?

Thanks

Re: naming format to specific folder, based on year

Posted: 22 Apr 2017, 13:59
by rednoah
Sure. You just need an if-then-else in your format.

@see viewtopic.php?f=5&t=4191
@see viewtopic.php?f=5&t=4981

Re: naming format to specific folder, based on year

Posted: 22 Apr 2017, 14:23
by bigsmall999
Awesome, thanks for the quick reply!

Here's my code, in case anyone has a similar use case:

Code: Select all

{y > 1999 ? 'F:/Movies' : 'E:/Movies'}/{y}/{ny}/{ny} [{af}]