mirror of
https://github.com/Radarr/Radarr
synced 2025-02-27 16:42:46 +00:00
Fixed: Bluray 480p releases will be treated as DVD
This commit is contained in:
parent
16c60ff92c
commit
3717b558e4
2 changed files with 2 additions and 1 deletions
|
@ -57,6 +57,7 @@ public void should_parse_sdtv_quality(string title, bool proper)
|
||||||
[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 @@ public static QualityModel ParseQuality(string name)
|
||||||
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…
Reference in a new issue