diff --git a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs index 94dd1b6f4..15ecd660e 100644 --- a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -41,6 +41,14 @@ namespace NzbDrone.Core.Test.ParserTests ParseAndVerifyQuality(title, Source.TELESYNC, proper, Resolution.R720p); } + [TestCase("Movie Name 2018 NEW PROPER 720p HD-CAM X264 HQ-CPG", true)] + [TestCase("Movie Name (2022) 1080p HQCAM ENG x264 AAC - QRips", false)] + [TestCase("Movie Name (2018) 720p Hindi HQ CAMrip x264 AAC 1.4GB", false)] + public void should_parse_cam(string title, bool proper) + { + ParseAndVerifyQuality(title, Source.CAM, proper, Resolution.Unknown); + } + [TestCase("S07E23 .avi ", false)] [TestCase("Movie Name S02E01 HDTV XviD 2HD", false)] [TestCase("Movie Name S05E11 PROPER HDTV XviD 2HD", true)] diff --git a/src/NzbDrone.Core/Parser/QualityParser.cs b/src/NzbDrone.Core/Parser/QualityParser.cs index aad5919b0..e69257968 100644 --- a/src/NzbDrone.Core/Parser/QualityParser.cs +++ b/src/NzbDrone.Core/Parser/QualityParser.cs @@ -28,7 +28,7 @@ namespace NzbDrone.Core.Parser (?SCR|SCREENER|DVDSCR|DVDSCREENER)| (?TS[-_. ]|TELESYNC|HD-TS|HDTS|PDVD|TSRip|HDTSRip)| (?TC|TELECINE|HD-TC|HDTC)| - (?CAMRIP|CAM|HDCAM|HD-CAM)| + (?CAMRIP|CAM|HDCAM|HQCAM|HD-CAM)| (?WORKPRINT|WP)| (?PDTV)| (?SDTV)|