From 3afe8e9236a4bf0de1bf224436c2c07f9acd136c Mon Sep 17 00:00:00 2001 From: p00chie Date: Sat, 24 Mar 2018 18:32:22 +0100 Subject: [PATCH] Update common.py Find web hd correctly. AVR Tag will not be present all the time --- sickbeard/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/common.py b/sickbeard/common.py index ae364931bd..bc22cb2de3 100644 --- a/sickbeard/common.py +++ b/sickbeard/common.py @@ -336,7 +336,7 @@ def scene_quality(name, anime=False): # pylint: disable=too-many-branches, too- if ep.avc and ep.bluray: result = Quality.UHD_4K_BLURAY if not full_res else Quality.UHD_8K_BLURAY # WEB-DL - elif (ep.avc and ep.itunes) or ep.web: + elif ep.itunes or ep.amazon or ep.web: result = Quality.UHD_4K_WEBDL if not full_res else Quality.UHD_8K_WEBDL # HDTV elif ep.avc and ep.tv == 'hd': @@ -350,7 +350,7 @@ def scene_quality(name, anime=False): # pylint: disable=too-many-branches, too- if ep.avc and (ep.bluray or ep.hddvd): result = Quality.FULLHDBLURAY if full_res else Quality.HDBLURAY # WEB-DL - elif (ep.avc and ep.itunes) or ep.web: + elif ep.itunes or ep.amazon or ep.web: result = Quality.FULLHDWEBDL if full_res else Quality.HDWEBDL # HDTV elif ep.avc and ep.tv == 'hd':