diff --git a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs index 6e5a5f4b2..eeafca9d8 100644 --- a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -56,6 +56,7 @@ namespace NzbDrone.Core.Test.ParserTests [TestCase("[HorribleSubs] Yowamushi Pedal - 32 [480p]", false)] [TestCase("[CR] Sailor Moon - 004 [480p][48CE2D0F]", false)] [TestCase("[Hatsuyuki] Naruto Shippuuden - 363 [848x480][ADE35E38]", false)] + [TestCase("Muppet.Babies.S03.TVRip.XviD-NOGRP", false)] public void should_parse_sdtv_quality(string title, bool proper) { ParseAndVerifyQuality(title, Quality.SDTV, proper); diff --git a/src/NzbDrone.Core/Parser/QualityParser.cs b/src/NzbDrone.Core/Parser/QualityParser.cs index a90566014..4a97da7d3 100644 --- a/src/NzbDrone.Core/Parser/QualityParser.cs +++ b/src/NzbDrone.Core/Parser/QualityParser.cs @@ -16,12 +16,13 @@ namespace NzbDrone.Core.Parser (?BluRay|Blu-Ray|HDDVD|BD)| (?WEB[-_. ]DL|WEBDL|WebRip|iTunesHD|WebHD)| (?HDTV)| - (?BDRiP)| + (?BDRip)| (?BRRip)| (?DVD|DVDRip|NTSC|PAL|xvidvd)| (?WS[-_. ]DSR|DSR)| (?PDTV)| - (?SDTV) + (?SDTV)| + (?TVRip) )\b", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace); @@ -165,7 +166,8 @@ namespace NzbDrone.Core.Parser if (sourceMatch.Groups["pdtv"].Success || sourceMatch.Groups["sdtv"].Success || - sourceMatch.Groups["dsr"].Success) + sourceMatch.Groups["dsr"].Success || + sourceMatch.Groups["tvrip"].Success) { if (HighDefPdtvRegex.IsMatch(normalizedName)) { @@ -177,6 +179,7 @@ namespace NzbDrone.Core.Parser return result; } + //Anime Bluray matching if (AnimeBlurayRegex.Match(normalizedName).Success) {