1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed: Parse DVD with 576p Resolution as DVD

Fixes #7297
Closes #8381
This commit is contained in:
Qstick 2023-04-23 13:09:16 -05:00
parent d851ecdf2f
commit b8ce140abc
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using FluentAssertions;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Qualities;
@ -29,6 +29,7 @@ public void should_return_DVD_Remux(Source source, int resolution, Modifier modi
}
[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);

View File

@ -89,7 +89,7 @@ public override bool Equals(object obj)
// 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