mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Fixed: WebDL gets marked as Remux. Fixes #1954
This commit is contained in:
parent
dc55eba74f
commit
63645c81bb
@ -181,6 +181,7 @@ public void should_parse_webdl720p_quality(string title, bool proper)
|
||||
[TestCase("Series Title S06E08 No One PROPER 1080p WEB DD5 1 H 264-EXCLUSIVE", true)]
|
||||
[TestCase("Series Title S06E08 No One PROPER 1080p WEB H 264-EXCLUSIVE", true)]
|
||||
[TestCase("The.Simpsons.S25E21.Pay.Pal.1080p.WEB-DL.DD5.1.H.264-NTb", false)]
|
||||
[TestCase("The.Simpsons.2017.1080p.WEB-DL.DD5.1.H.264.Remux.-NTb", false)]
|
||||
public void should_parse_webdl1080p_quality(string title, bool proper)
|
||||
{
|
||||
ParseAndVerifyQuality(title, Quality.WEBDL1080p, proper);
|
||||
|
@ -99,7 +99,7 @@ public static QualityModel ParseQuality(string name)
|
||||
var resolution = ParseResolution(normalizedName);
|
||||
var codecRegex = CodecRegex.Match(normalizedName);
|
||||
|
||||
if (RemuxRegex.IsMatch(normalizedName))
|
||||
if (RemuxRegex.IsMatch(normalizedName) && sourceMatch?.Groups["webdl"].Success != true && sourceMatch?.Groups["hdtv"].Success != true)
|
||||
{
|
||||
if (resolution == Resolution.R2160p)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user