Fixed: Treat iTunesHD as Web-DL

pull/4/head
Mark McDowall 10 years ago
parent 0322eab509
commit 9d5d3ce4c3

@ -136,6 +136,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Fringe S04E22 720p WEB-DL DD5.1 H264-EbP.mkv", false)] [TestCase("Fringe S04E22 720p WEB-DL DD5.1 H264-EbP.mkv", false)]
[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)]
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)| (?<webdl>WEB[-_. ]DL|WEBDL|WebRip|iTunesHD)|
(?<hdtv>HDTV)| (?<hdtv>HDTV)|
(?<bdrip>BDRiP)| (?<bdrip>BDRiP)|
(?<brrip>BRRip)| (?<brrip>BRRip)|

Loading…
Cancel
Save