From 72b2cfe8bed661e8492de76d6ef58f5c1fc2f56e Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Mon, 16 Sep 2024 18:34:12 -0500 Subject: [PATCH] Fixed: Parse TELESYNCH as TELESYNC (#10445) Fixes #10414 --- 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 0dac5cce4..20af516fb 100644 --- a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -36,6 +36,7 @@ public void Setup() }; [TestCase("Movie.Title.3.2017.720p.TSRip.x264.AAC-Ozlem", false)] + [TestCase("Movie: Title (2024) TeleSynch 720p | HEVC-FILVOVAN", false)] public void should_parse_ts(string title, bool proper) { ParseAndVerifyQuality(title, QualitySource.TELESYNC, proper, Resolution.R720p); diff --git a/src/NzbDrone.Core/Parser/QualityParser.cs b/src/NzbDrone.Core/Parser/QualityParser.cs index 914ba4f63..f3e842725 100644 --- a/src/NzbDrone.Core/Parser/QualityParser.cs +++ b/src/NzbDrone.Core/Parser/QualityParser.cs @@ -26,7 +26,7 @@ public class QualityParser (?WS[-_. ]DSR|DSR)| (?R[0-9]{1}|REGIONAL)| (?SCR|SCREENER|DVDSCR|DVDSCREENER)| - (?TS[-_. ]|TELESYNC|HD-TS|HDTS|PDVD|TSRip|HDTSRip)| + (?TS[-_. ]|TELESYNCH?|HD-TS|HDTS|PDVD|TSRip|HDTSRip)| (?TC|TELECINE|HD-TC|HDTC)| (?CAMRIP|(?:NEW)?CAM|HD-?CAM(?:Rip)?|HQCAM)| (?WORKPRINT|WP)|