Private GIT

Skip to content
Snippets Groups Projects
Commit 9a9bc6c7 authored by p00chie's avatar p00chie Committed by miigotu
Browse files

Update common.py

parent 70e23a81
Branches
No related tags found
No related merge requests found
......@@ -338,7 +338,7 @@ class Quality(object):
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.netflix 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':
......@@ -352,7 +352,7 @@ class Quality(object):
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.netflix or ep.web:
result = Quality.FULLHDWEBDL if full_res else Quality.HDWEBDL
# HDTV
elif ep.avc and ep.tv == 'hd':
......@@ -382,6 +382,7 @@ class Quality(object):
# SD TV/HD TV
result = Quality.SDTV
return Quality.UNKNOWN if result is None else result
@staticmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment