Hi,
I know this has to be easy, but I have not been able to find the right way, sorry about that
I want to save my movies in a special folder (Movies (HEVC)) if they have the new video codecs (vc returns HEVC, h265, x265....). What I did is
{vc=='HEVC' ? 'Movies (HEVC)' : 'Movies'} and it works when vc is HEVC
How should I change that to make it work if vc is any of the aforementioned codecs?
Thanks
TB
if {vc} in [HEVC h265 H265 x265 X265] then ... else ...
Re: HEVC h265 H265 x265 X265
Regex:
Code: Select all
{vc =~ /HEVC|265/ ? 'Movies (HEVC)' : 'Movies'}
Re: HEVC h265 H265 x265 X265
Thanks, I would never have guessed that
TB
TB