From de05be62d7fc3c1bb660fb982be96e0fd8e67368 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Mon, 27 Dec 2021 01:51:35 +0100 Subject: [PATCH] Added BDLight to quality parser (cherry picked from commit 5c8f2518baa1b2d4a8b0507f9fafe12b2ecff1e5) --- 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 c6b9fd60c..f2b7f9915 100644 --- a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -258,6 +258,7 @@ namespace NzbDrone.Core.Test.ParserTests [TestCase("Movie Name 2005 1080p UHD BluRay DD+7.1 x264-LoRD.mkv", false)] [TestCase("Movie.Name.2011.1080p.UHD.BluRay.DD5.1.HDR.x265-CtrlHD.mkv", false)] [TestCase("Movie.Name.2016.German.DTS.DL.1080p.UHDBD.x265-TDO.mkv", false)] + [TestCase("Movie.Name.2021.1080p.BDLight.x265-AVCDVD", false)] public void should_parse_bluray1080p_quality(string title, bool proper) { ParseAndVerifyQuality(title, Source.BLURAY, proper, Resolution.R1080p); diff --git a/src/NzbDrone.Core/Parser/QualityParser.cs b/src/NzbDrone.Core/Parser/QualityParser.cs index 48464163f..b4ede6b78 100644 --- a/src/NzbDrone.Core/Parser/QualityParser.cs +++ b/src/NzbDrone.Core/Parser/QualityParser.cs @@ -19,7 +19,7 @@ namespace NzbDrone.Core.Parser (?WEB[-_. ]DL(?:mux)?|WEBDL|AmazonHD|iTunesHD|MaxdomeHD|NetflixU?HD|WebHD|[. ]WEB[. ](?:[xh]26[45]|DDP?5[. ]1)|[. ](?-i:WEB)$|(?:\d{3,4}0p)[-. ]WEB[-. ]|[-. ]WEB[-. ]\d{3,4}0p|\b\s\/\sWEB\s\/\s\b|AMZN[. -]WEB[. -]|NF[. ]WEB[. ])| (?WebRip|Web-Rip|WEBMux)| (?HDTV)| - (?BDRip)| + (?BDRip|BDLight)| (?BRRip)| (?DVD-R|DVDR|DVD5|DVD9)| (?DVD(?!-R)|DVDRip|xvidvd)|