INTERACT FORUM
More => Old Versions => JRiver Media Center 30 for Windows => Topic started by: jmone on November 16, 2022, 04:08:04 am
-
My existing expression is:
[Dimensions]=[3840 x 2160]
, and I'd like to make something more generic buy I'm an MC Expression noob. I'm after something that will show items that are "> 1920" and have tried a few expression but they don't work, such as:
Compare(Left([Dimensions],4), >, 1920)&datatype=[integer]
Thanks
Nathan
-
So are you after something like this:
If(Compare([Width],>,1920),4K,)
prints 4K if width > 1920. otherwise prints nothing
or are you after filter?
-
Filter solution with panes
-
I've been fine tuning my [Resolution] label over time. This works well for my collection:
FirstNotEmpty(
ifcase([height],2,2160,4K,1440,QHD,1080,FHD,720,HD,576,PAL,480,NTSC),
ifcase([width],2,3840,4K,2560,QHD,1920,FHD,1280,HD,768,PAL,720,NTSC),
ifcase([height],6,2400,4K+,1500,4K*,1200,QHD*,750,FHD*,600,HD*,550,PAL*,460,NTSC*,0,SD))
It uses both Height and Width. The labels with an asterisk (FHD*) indicate when the resolution is not exact.
-
I've been fine tuning my [Resolution] label over time. This works well for my collection:
FirstNotEmpty(
ifcase([height],2,2160,4K,1440,QHD,1080,FHD,720,HD,576,PAL,480,NTSC),
ifcase([width],2,3840,4K,2560,QHD,1920,FHD,1280,HD,768,PAL,720,NTSC),
ifcase([height],6,2400,4K+,1500,4K*,1200,QHD*,750,FHD*,600,HD*,550,PAL*,460,NTSC*,0,SD))
It uses both Height and Width. The labels with an asterisk (FHD*) indicate when the resolution is not exact.
This is awesome and works great. Thank you.
-
Thanks lepa and zybex, looks great! Did not know we had a 'width' field so "[Width]=>1920" is all I needed for my view.