Need help, year sorting.

Any questions? Need some help?
Post Reply
talzac
Posts: 8
Joined: 05 Sep 2017, 07:33

Need help, year sorting.

Post by talzac »

Hi,
Here is my current setup:

Code: Select all

movieFormat=/Output-Sorted/Movies/"Movies_"{y}{vf.replaceAll(vf.match(/720[pP]|2160[pP]|1080[pP]/), "_HD")}/{n.upperInitial().space('.')}.{y}{".$source"}{'.'+vf.match(/720[pP]|1080[pP]/)}{".$vc"}{".$af"}{'-'+group}/{n.upperInitial().space('.')}.{y}{".$source"}{'.'+vf.match(/720[pP]|1080[pP]/)}{".$vc"}{".$af"}{'-'+group}
SD = Movies_(year) - example Movies_2017
HD = Movies_(year)_HD - example Movies_2017_HD

The problem is that I want all movies that are older than 2010 to be sorted in the folder named: older_movies or older_movies_hd

how can I add this?

y < 2010 format SD = move to older_movies
y < 2010 format HD = move to older_moives_hd

Can someone help me?
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need help, year sorting.

Post by rednoah »

e.g.

Code: Select all

y > 2010 ? 'New Movies' : hd == 'SD' ? 'Old Movies' : 'Old Movies HD'
:idea: Please read the FAQ and How to Request Help.
Post Reply