Private GIT

Skip to content
Snippets Groups Projects
Commit 09c121e4 authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Allow other types of separators in the SD qualities, don't restrict to .

parent cf155e36
Branches
Tags
No related merge requests found
...@@ -124,9 +124,9 @@ class Quality: ...@@ -124,9 +124,9 @@ class Quality:
checkName = lambda list, func: func([re.search(x, name, re.I) for x in list]) checkName = lambda list, func: func([re.search(x, name, re.I) for x in list])
if checkName(["(pdtv|hdtv|dsr)\.(xvid|x264)"], all) and not checkName(["(720|1080)[pi]"], all): if checkName(["(pdtv|hdtv|dsr).(xvid|x264)"], all) and not checkName(["(720|1080)[pi]"], all):
return Quality.SDTV return Quality.SDTV
elif checkName(["(dvdrip|bdrip)(\.ws)?\.(xvid|divx|x264)"], any) and not checkName(["(720|1080)[pi]"], all): elif checkName(["(dvdrip|bdrip)(.ws)?.(xvid|divx|x264)"], any) and not checkName(["(720|1080)[pi]"], all):
return Quality.SDDVD return Quality.SDDVD
elif checkName(["720p", "hdtv", "x264"], all) or checkName(["hr.ws.pdtv.x264"], any): elif checkName(["720p", "hdtv", "x264"], all) or checkName(["hr.ws.pdtv.x264"], any):
return Quality.HDTV return Quality.HDTV
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment