From 3717b558e4d1c0f1f82f353f14a647ac7648ced0 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 25 May 2014 13:28:43 -0700 Subject: [PATCH] Fixed: Bluray 480p releases will be treated as DVD --- src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs | 1 + src/NzbDrone.Core/Parser/QualityParser.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs index 7dd478b6d..aa8d13a37 100644 --- a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -57,6 +57,7 @@ namespace NzbDrone.Core.Test.ParserTests [TestCase("the.shield.1x13.circles.ws.xvidvd-tns", false)] [TestCase("the_x-files.9x18.sunshine_days.ac3.ws_dvdrip_xvid-fov.avi", false)] [TestCase("Hannibal.S01E05.576p.BluRay.DD5.1.x264-HiSD", false)] + [TestCase("Hannibal.S01E05.480p.BluRay.DD5.1.x264-HiSD", false)] public void should_parse_dvd_quality(string title, bool proper) { ParseAndVerifyQuality(title, Quality.DVD, proper); diff --git a/src/NzbDrone.Core/Parser/QualityParser.cs b/src/NzbDrone.Core/Parser/QualityParser.cs index 55e317227..e8b6e5d5b 100644 --- a/src/NzbDrone.Core/Parser/QualityParser.cs +++ b/src/NzbDrone.Core/Parser/QualityParser.cs @@ -71,7 +71,7 @@ namespace NzbDrone.Core.Parser return result; } - if (resolution == Resolution._576p) + if (resolution == Resolution._480p || resolution == Resolution._576p) { result.Quality = Quality.DVD; return result;