{hpi} reports "1080m"
Posted: 04 Nov 2020, 08:02
Hi,
I have a TV series where some of the episodes report {hpi} as "1080p" as expected, but some report "1080m".
The code I am using is:
The idea being that If it is standard 1920x1080, I get the [FHD] in the filename, but if it is non-standard, I get [FHD] [real height] - helps me know it has a non standard ratio.
This morning, I saw [FHD] [1080m] which threw me - I cannot find it anywhere on google.
I have a TV series where some of the episodes report {hpi} as "1080p" as expected, but some report "1080m".
The code I am using is:
Code: Select all
{plex[3]}
{hd.matches(/SD/) ? " [SD]":""}
{vf.matches(/720p/) ? " [HD]":""}
{vf.matches(/1080p/) ? " [FHD]":""}
{vf.matches(hpi) ? "":" [$hpi]"}
This morning, I saw [FHD] [1080m] which threw me - I cannot find it anywhere on google.