mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 08:53:37 +00:00
Merge pull request #632 from adam111316/fix_webdl_quality
Fixes web-dl quality detection for some episode naming patterns
This commit is contained in:
commit
0866bcc344
1 changed files with 2 additions and 6 deletions
|
@ -222,13 +222,9 @@ class Quality:
|
||||||
return Quality.RAWHDTV
|
return Quality.RAWHDTV
|
||||||
elif checkName(["1080p", "hdtv", "x264"], all):
|
elif checkName(["1080p", "hdtv", "x264"], all):
|
||||||
return Quality.FULLHDTV
|
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
|
return Quality.HDWEBDL
|
||||||
elif checkName(["1080p", "web.dl", "h.?264"], all) or checkName(["1080p", "itunes", "h.?264"], all):
|
elif checkName(["1080p", "web.dl|webrip"], 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):
|
|
||||||
return Quality.FULLHDWEBDL
|
return Quality.FULLHDWEBDL
|
||||||
elif checkName(["720p", "bluray|hddvd|b[r|d]rip", "x264"], all):
|
elif checkName(["720p", "bluray|hddvd|b[r|d]rip", "x264"], all):
|
||||||
return Quality.HDBLURAY
|
return Quality.HDBLURAY
|
||||||
|
|
Loading…
Reference in a new issue