From 9d5d3ce4c333430c614367c762a28810d512c332 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 26 Oct 2014 16:31:45 -0700 Subject: [PATCH] Fixed: Treat iTunesHD as Web-DL --- src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs | 1 + src/NzbDrone.Core/Parser/QualityParser.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs index 87e627047..3f8c0034f 100644 --- a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -136,6 +136,7 @@ public void should_parse_hdtv1080p_quality(string title, bool proper) [TestCase("Fringe S04E22 720p WEB-DL DD5.1 H264-EbP.mkv", 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("CSI.Miami.S04E25.720p.iTunesHD.AVC-TVS", false)] public void should_parse_webdl720p_quality(string title, bool proper) { ParseAndVerifyQuality(title, Quality.WEBDL720p, proper); diff --git a/src/NzbDrone.Core/Parser/QualityParser.cs b/src/NzbDrone.Core/Parser/QualityParser.cs index 4b63cb0ab..0aaacdbd6 100644 --- a/src/NzbDrone.Core/Parser/QualityParser.cs +++ b/src/NzbDrone.Core/Parser/QualityParser.cs @@ -14,7 +14,7 @@ public class QualityParser private static readonly Regex SourceRegex = new Regex(@"\b(?: (?BluRay|Blu-Ray)| - (?WEB[-_. ]DL|WEBDL|WebRip)| + (?WEB[-_. ]DL|WEBDL|WebRip|iTunesHD)| (?HDTV)| (?BDRiP)| (?BRRip)|