Fixed: Parse NEWCAM as CAM

Co-authored-by: bokkoman <bokkoman@gmail.com>

Fixes #10255
pull/9810/merge
Bogdan 3 months ago
parent fe00825f2b
commit a4301f8db0

@ -45,6 +45,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Movie Name (2022) 1080p HQCAM ENG x264 AAC - QRips", false)]
[TestCase("Movie Name (2018) 720p Hindi HQ CAMrip x264 AAC 1.4GB", false)]
[TestCase("Movie Name (2022) New HDCAMRip 1080p [Love Rulz]", false)]
[TestCase("Movie.Name.2024.NEWCAM.1080p.HEVC.AC3.English-RypS", false)]
public void should_parse_cam(string title, bool proper)
{
ParseAndVerifyQuality(title, QualitySource.CAM, proper, Resolution.Unknown);

@ -28,7 +28,7 @@ namespace NzbDrone.Core.Parser
(?<scr>SCR|SCREENER|DVDSCR|DVDSCREENER)|
(?<ts>TS[-_. ]|TELESYNC|HD-TS|HDTS|PDVD|TSRip|HDTSRip)|
(?<tc>TC|TELECINE|HD-TC|HDTC)|
(?<cam>CAMRIP|CAM|HD-?CAM(?:Rip)?|HQCAM)|
(?<cam>CAMRIP|(?:NEW)?CAM|HD-?CAM(?:Rip)?|HQCAM)|
(?<wp>WORKPRINT|WP)|
(?<pdtv>PDTV)|
(?<sdtv>SDTV)|

Loading…
Cancel
Save