Fixed: Parsing of TSRip and HDTSRip. Fixes #1998

pull/2/head
Leonardo Galli 7 years ago
parent 5ff9dc3500
commit b6be297093

@ -46,6 +46,13 @@ namespace NzbDrone.Core.Test.ParserTests
new object[] { "2160p Remux", Quality.Remux2160p },
};
[TestCase("Despicable.Me.3.2017.720p.TSRip.x264.AAC-Ozlem", false)]
[TestCase("IT.2017.HDTSRip.x264.AAC-Ozlem[ETRG]", false)]
public void should_parse_ts(string title, bool proper)
{
ParseAndVerifyQuality(title, Quality.TELESYNC, proper);
}
[TestCase("S07E23 .avi ", false)]
[TestCase("The.Shield.S01E13.x264-CtrlSD", false)]
[TestCase("Nikita S02E01 HDTV XviD 2HD", false)]

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

Loading…
Cancel
Save