From 2494473f6868715a95bc6cd4420a02977fd5abf4 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Mon, 18 Nov 2024 06:19:57 +0100 Subject: [PATCH] add to file_quality for video height over 1100 to return 4k web too --- sickgear/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sickgear/common.py b/sickgear/common.py index 7e160e03..24bc0d52 100644 --- a/sickgear/common.py +++ b/sickgear/common.py @@ -405,6 +405,8 @@ class Quality(object): if None is not height and height >= tolerance(352, 5): if height <= tolerance(720, 2): return Quality.SDTV + if 1100 < height: + return Quality.UHD4KWEB return (Quality.HDTV, Quality.FULLHDTV)[height >= tolerance(1080, 1)] return Quality.UNKNOWN