Fixed: Parsing of quality when release group contains Remux
Closes #4594
This commit is contained in:
parent
c0a961bb94
commit
8ad5e5dd13
|
@ -139,6 +139,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|||
[TestCase("The Series S01E07 - Motor zmen (CZ)[TvRip][HEVC][720p]", false)]
|
||||
[TestCase("The.Series.S05E06.720p.HDTV.x264-FHD", false)]
|
||||
[TestCase("Series.Title.1x01.ITA.720p.x264-RlsGrp [01/54] - \"series.title.1x01.ita.720p.x264-rlsgrp.nfo\"", false)]
|
||||
[TestCase("[TMS-Remux].Kamen.Rider.X.21.720p.[76EA1C53].mkv", false)]
|
||||
public void should_parse_hdtv720p_quality(string title, bool proper)
|
||||
{
|
||||
ParseAndVerifyQuality(title, Quality.HDTV720p, proper);
|
||||
|
|
|
@ -64,7 +64,7 @@ namespace NzbDrone.Core.Parser
|
|||
|
||||
private static readonly Regex HighDefPdtvRegex = new Regex(@"hr[-_. ]ws", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
private static readonly Regex RemuxRegex = new Regex(@"\b(?<remux>(BD)?[-_. ]?Remux)\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static readonly Regex RemuxRegex = new Regex(@"[_. ](?<remux>(?:(BD)[-_. ])?Remux)\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
public static QualityModel ParseQuality(string name)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue