Fixed: Treat WebHD as Web-DL

pull/6/head
Mark McDowall 10 years ago
parent 9d5d3ce4c3
commit c4836975a9

@ -137,6 +137,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("House.S04.720p.Web-Dl.Dd5.1.h264-P2PACK", false)] [TestCase("House.S04.720p.Web-Dl.Dd5.1.h264-P2PACK", false)]
[TestCase("Da.Vincis.Demons.S02E04.720p.WEB.DL.nSD.x264-NhaNc3", false)] [TestCase("Da.Vincis.Demons.S02E04.720p.WEB.DL.nSD.x264-NhaNc3", false)]
[TestCase("CSI.Miami.S04E25.720p.iTunesHD.AVC-TVS", false)] [TestCase("CSI.Miami.S04E25.720p.iTunesHD.AVC-TVS", false)]
[TestCase("Castle.S06E23.720p.WebHD.h264-euHD", false)]
public void should_parse_webdl720p_quality(string title, bool proper) public void should_parse_webdl720p_quality(string title, bool proper)
{ {
ParseAndVerifyQuality(title, Quality.WEBDL720p, proper); ParseAndVerifyQuality(title, Quality.WEBDL720p, proper);

@ -14,7 +14,7 @@ namespace NzbDrone.Core.Parser
private static readonly Regex SourceRegex = new Regex(@"\b(?: private static readonly Regex SourceRegex = new Regex(@"\b(?:
(?<bluray>BluRay|Blu-Ray)| (?<bluray>BluRay|Blu-Ray)|
(?<webdl>WEB[-_. ]DL|WEBDL|WebRip|iTunesHD)| (?<webdl>WEB[-_. ]DL|WEBDL|WebRip|iTunesHD|WebHD)|
(?<hdtv>HDTV)| (?<hdtv>HDTV)|
(?<bdrip>BDRiP)| (?<bdrip>BDRiP)|
(?<brrip>BRRip)| (?<brrip>BRRip)|

Loading…
Cancel
Save