mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Fixed: WebDL gets marked as Remux. Fixes #1954
This commit is contained in:
parent
dc55eba74f
commit
63645c81bb
2 changed files with 2 additions and 1 deletions
|
@ -181,6 +181,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|||
[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 @@ namespace NzbDrone.Core.Parser
|
|||
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…
Add table
Add a link
Reference in a new issue