Fixed: Parse DVD with 576p Resolution as DVD

Fixes #7297
Closes #8381
pull/8389/head
Qstick 1 year ago
parent d851ecdf2f
commit b8ce140abc

@ -1,4 +1,4 @@
using FluentAssertions;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Qualities;
@ -29,6 +29,7 @@ namespace NzbDrone.Core.Test.Qualities
}
[TestCase(Source.DVD, 480, Modifier.NONE)]
[TestCase(Source.DVD, 576, Modifier.NONE)]
public void should_return_DVD(Source source, int resolution, Modifier modifier)
{
QualityFinder.FindBySourceAndResolution(source, resolution, modifier).Should().Be(Quality.DVD);

@ -89,7 +89,7 @@ namespace NzbDrone.Core.Qualities
// SD
public static Quality SDTV => new Quality(1, "SDTV", Source.TV, 480);
public static Quality DVD => new Quality(2, "DVD", Source.DVD, 480);
public static Quality DVD => new Quality(2, "DVD", Source.DVD, 0);
public static Quality DVDR => new Quality(23, "DVD-R", Source.DVD, 480, Modifier.REMUX); // new
// HDTV

Loading…
Cancel
Save