mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-28 23:53:37 +00:00
add to file_quality for video height over 1100 to return 4k web too
This commit is contained in:
parent
5b31a986dd
commit
2494473f68
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,8 @@ class Quality(object):
|
||||||
if None is not height and height >= tolerance(352, 5):
|
if None is not height and height >= tolerance(352, 5):
|
||||||
if height <= tolerance(720, 2):
|
if height <= tolerance(720, 2):
|
||||||
return Quality.SDTV
|
return Quality.SDTV
|
||||||
|
if 1100 < height:
|
||||||
|
return Quality.UHD4KWEB
|
||||||
return (Quality.HDTV, Quality.FULLHDTV)[height >= tolerance(1080, 1)]
|
return (Quality.HDTV, Quality.FULLHDTV)[height >= tolerance(1080, 1)]
|
||||||
return Quality.UNKNOWN
|
return Quality.UNKNOWN
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue