diff --git a/NzbDrone.Core.Test/ParserTest.cs b/NzbDrone.Core.Test/ParserTest.cs index 6f98d30f5..538f8ce89 100644 --- a/NzbDrone.Core.Test/ParserTest.cs +++ b/NzbDrone.Core.Test/ParserTest.cs @@ -162,6 +162,9 @@ namespace NzbDrone.Core.Test [TestCase("White.Van.Man.2011.S02E01.WS.PDTV.x264-REPACK-TLA", QualityTypes.SDTV, true)] [TestCase("WEEDS.S03E01-06.DUAL.XviD.Bluray.AC3-REPACK.-HELLYWOOD.avi", QualityTypes.DVD, true)] [TestCase("Pawn Stars S04E87 REPACK 720p HDTV x264 aAF", QualityTypes.HDTV, true)] + [TestCase("The Real Housewives of Vancouver S01E04 DSR x264 2HD", QualityTypes.SDTV, false)] + [TestCase("Vanguard S01E04 Mexicos Death Train DSR x264 MiNDTHEGAP", QualityTypes.SDTV, false)] + public void quality_parse(string postTitle, object quality, bool proper) { var result = Parser.ParseQuality(postTitle); diff --git a/NzbDrone.Core/Parser.cs b/NzbDrone.Core/Parser.cs index 0f2fda3c6..921fb3a55 100644 --- a/NzbDrone.Core/Parser.cs +++ b/NzbDrone.Core/Parser.cs @@ -259,7 +259,7 @@ namespace NzbDrone.Core return result; } - if (normalizedName.Contains("xvid") || normalizedName.Contains("divx")) + if (normalizedName.Contains("xvid") || normalizedName.Contains("divx") || normalizedName.Contains("dsr")) { if (normalizedName.Contains("bluray")) { @@ -300,8 +300,6 @@ namespace NzbDrone.Core } //Based on extension - - if (result.QualityType == QualityTypes.Unknown) { try