1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-22 16:02:43 +00:00

Fixed: Don't parse .ts files as Telesync

Fixes #4891
This commit is contained in:
Qstick 2020-08-17 22:51:10 -04:00
parent 7c5b2a299d
commit c8de61df19
2 changed files with 2 additions and 1 deletions

View file

@ -67,6 +67,7 @@ public void should_parse_sdtv_quality(string title, bool proper)
[TestCase("the.shield.1x13.circles.ws.xvidvd-tns", false)] [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_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("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) public void should_parse_dvd_quality(string title, bool proper)
{ {
ParseAndVerifyQuality(title, Source.DVD, proper, Resolution.R480p); ParseAndVerifyQuality(title, Source.DVD, proper, Resolution.R480p);

View file

@ -26,7 +26,7 @@ public class QualityParser
(?<dsr>WS[-_. ]DSR|DSR)| (?<dsr>WS[-_. ]DSR|DSR)|
(?<regional>R[0-9]{1}|REGIONAL)| (?<regional>R[0-9]{1}|REGIONAL)|
(?<scr>SCR|SCREENER|DVDSCR|DVDSCREENER)| (?<scr>SCR|SCREENER|DVDSCR|DVDSCREENER)|
(?<ts>TS|TELESYNC|HD-TS|HDTS|PDVD|TSRip|HDTSRip)| (?<ts>TS[-_. ]|TELESYNC|HD-TS|HDTS|PDVD|TSRip|HDTSRip)|
(?<tc>TC|TELECINE|HD-TC|HDTC)| (?<tc>TC|TELECINE|HD-TC|HDTC)|
(?<cam>CAMRIP|CAM|HDCAM|HD-CAM)| (?<cam>CAMRIP|CAM|HDCAM|HD-CAM)|
(?<wp>WORKPRINT|WP)| (?<wp>WORKPRINT|WP)|