Move only HEVC files into an alternate directory.

All about user-defined episode / movie format expressions
Post Reply
User avatar
rednoah
The Source
Posts: 16123
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Move only HEVC files into an alternate directory.

Post by rednoah » 11 Jan 2019, 09:55

You can do if-then-else like so:

Code: Select all

{video.format =~ /HEVC/ ? 'TV HEVC' : 'TV'}

e.g.

Code: Select all

X:/Media/{video.format =~ /HEVC/ ? 'TV HEVC' : 'TV'}/{plex.tail}
:idea: Please read the FAQ and How to Request Help.

Post Reply