mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
Fixed: Parsing of TSRip and HDTSRip. Fixes #1998
This commit is contained in:
parent
5ff9dc3500
commit
b6be297093
2 changed files with 8 additions and 1 deletions
|
@ -46,6 +46,13 @@ public class QualityParserFixture : CoreTest
|
|||
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 @@ public class QualityParser
|
|||
(?<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…
Reference in a new issue