naming format to specific folder, based on year

All about user-defined episode / movie / file name format expressions
Post Reply
bigsmall999
Posts: 2
Joined: 22 Apr 2017, 12:14

naming format to specific folder, based on year

Post 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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: naming format to specific folder, based on year

Post 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
:idea: Please read the FAQ and How to Request Help.
bigsmall999
Posts: 2
Joined: 22 Apr 2017, 12:14

Re: naming format to specific folder, based on year

Post 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}]
Post Reply