From 8c9433711081c2036091ee6a034e7a16eb30cc61 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 23 Oct 2018 23:18:49 -0700 Subject: [PATCH] fix 720p 21:9 naming --- Source/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/functions.php b/Source/functions.php index 01318176..f098ede3 100644 --- a/Source/functions.php +++ b/Source/functions.php @@ -29,6 +29,9 @@ function get_title($width, $height) { } else if ($ratio[0] == 7 && $ratio[1] == 3) { // 2100x900 and 4200x1800 are actual 21:9 (21*100 and 9*100) but for some reason it calculates to 7:3? $title = $title . " (21:9)"; + } else if ($ratio[0] == 853 && $ratio[1] == 360) { + // 21:9 720p calculates to 853:360 + $title = $title . " (21:9)"; } else if ($ratio[0] == 8 && $ratio[1] == 5) { // common sense $title = $title . " (16:10)";