Fixed: Bluray 480p releases will be treated as DVD

This commit is contained in:
Mark McDowall 2014-05-25 13:28:43 -07:00
parent 16c60ff92c
commit 3717b558e4
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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;