From c8de61df19a1312c3ce73bc556a939107f60aa61 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 17 Aug 2020 22:51:10 -0400 Subject: [PATCH] Fixed: Don't parse .ts files as Telesync Fixes #4891 --- 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 26c019d07..aca9cf66d 100644 --- a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -67,6 +67,7 @@ namespace NzbDrone.Core.Test.ParserTests [TestCase("the.shield.1x13.circles.ws.xvidvd-tns", false)] [TestCase("the_x-files.9x18.sunshine_days.ac3.ws_dvdrip_xvid-fov.avi", false)] [TestCase("The.Third.Jihad.2008.DVDRip.360p.H264 iPod -20-40", false)] + [TestCase("SomeMovie.2018.DVDRip.ts", false)] public void should_parse_dvd_quality(string title, bool proper) { ParseAndVerifyQuality(title, Source.DVD, proper, Resolution.R480p); diff --git a/src/NzbDrone.Core/Parser/QualityParser.cs b/src/NzbDrone.Core/Parser/QualityParser.cs index 88a31a3e9..6385df78c 100644 --- a/src/NzbDrone.Core/Parser/QualityParser.cs +++ b/src/NzbDrone.Core/Parser/QualityParser.cs @@ -26,7 +26,7 @@ namespace NzbDrone.Core.Parser (?WS[-_. ]DSR|DSR)| (?R[0-9]{1}|REGIONAL)| (?SCR|SCREENER|DVDSCR|DVDSCREENER)| - (?TS|TELESYNC|HD-TS|HDTS|PDVD|TSRip|HDTSRip)| + (?TS[-_. ]|TELESYNC|HD-TS|HDTS|PDVD|TSRip|HDTSRip)| (?TC|TELECINE|HD-TC|HDTC)| (?CAMRIP|CAM|HDCAM|HD-CAM)| (?WORKPRINT|WP)|