Fixed: Bluray 480p releases will be treated as DVD

pull/4/head
Mark McDowall 10 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_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);

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

Loading…
Cancel
Save