From 257181ee4fb04a694c188f570c597b1e48e4bb9a Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 8 Jul 2014 20:57:14 +0800 Subject: [PATCH] Fixes web-dl quality detection for some episode naming patterns --- sickbeard/common.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sickbeard/common.py b/sickbeard/common.py index dcc466f5..2e532750 100644 --- a/sickbeard/common.py +++ b/sickbeard/common.py @@ -222,13 +222,9 @@ class Quality: return Quality.RAWHDTV elif checkName(["1080p", "hdtv", "x264"], all): return Quality.FULLHDTV - elif checkName(["720p", "web.dl", "h.?264"], all) or checkName(["720p", "itunes", "h.?264"], all): + elif checkName(["720p", "web.dl|webrip"], all) or checkName(["720p", "itunes", "h.?264"], all): return Quality.HDWEBDL - elif checkName(["1080p", "web.dl", "h.?264"], all) or checkName(["1080p", "itunes", "h.?264"], all): - return Quality.FULLHDWEBDL - elif checkName(["720p", "webrip", "x264"], all): - return Quality.HDWEBDL - elif checkName(["1080p", "webrip", "x264"], all): + elif checkName(["1080p", "web.dl|webrip"], all) or checkName(["1080p", "itunes", "h.?264"], all): return Quality.FULLHDWEBDL elif checkName(["720p", "bluray|hddvd|b[r|d]rip", "x264"], all): return Quality.HDBLURAY