I am trying to make an expression that will tag some imported videos (live TV imported from another server) with a custom tag. I have been experimenting, and have my proof of concept working (see below):
if(isequal([Series], DC's Legends of Tomorrow, 1), Compress Now,
if(isequal([Series], Speechless, 1), ,
if(isequal([Series], Recorded Movies, 1), Compress_Movie,
if(isequal([Series], Teen Mom OG, 1), ,
if(isequal([Series],The Goldbergs, 1), ,
if(isequal(Media Sub Type], Movie, 1), Compress_Movie, Compress))))))
The problem is that I probably have another 15-20 series deep that I need to go. Will that work, or is there a better way to do what I want?
I used to have this built into the recording subscription, but I have cancelled cable, and am recording off site, and transferring the files using OneDrive. When they are auto imported from the OneDrive folder locally, I am applying the above expression on a custom field that I use to determine whether to auto compress the show after watching.
EDIT: Added some line feeds in the code section above for clarity.