Fixed: Bluray 480p releases will be treated as DVD

pull/81/head
Mark McDowall 11 years ago
parent 16c60ff92c
commit 3717b558e4

@ -57,6 +57,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("the.shield.1x13.circles.ws.xvidvd-tns", false)] [TestCase("the.shield.1x13.circles.ws.xvidvd-tns", false)]
[TestCase("the_x-files.9x18.sunshine_days.ac3.ws_dvdrip_xvid-fov.avi", 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.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) public void should_parse_dvd_quality(string title, bool proper)
{ {
ParseAndVerifyQuality(title, Quality.DVD, proper); ParseAndVerifyQuality(title, Quality.DVD, proper);

@ -71,7 +71,7 @@ namespace NzbDrone.Core.Parser
return result; return result;
} }
if (resolution == Resolution._576p) if (resolution == Resolution._480p || resolution == Resolution._576p)
{ {
result.Quality = Quality.DVD; result.Quality = Quality.DVD;
return result; return result;

Loading…
Cancel
Save