1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

New: Parsing releases with 4K in square brackets as 2160p

(cherry picked from commit 9e6b32ca3ec1f16e54803f6419365b1c68ea18e0)

Closes #7848
This commit is contained in:
Mark McDowall
2022-12-06 23:10:25 -08:00
committed by Bogdan
parent e03289abe7
commit 78c009d6fa
2 changed files with 12 additions and 7 deletions
@@ -150,6 +150,12 @@ namespace NzbDrone.Core.Test.ParserTests
ParseAndVerifyQuality(title, QualitySource.TV, proper, Resolution.R1080p);
}
[TestCase("[NOGRP][][][Movie Title 2022][19][HEVC][GB][4K]", false)]
public void should_parse_hdtv2160p_quality(string title, bool proper)
{
ParseAndVerifyQuality(title, QualitySource.TV, proper, Resolution.R2160p);
}
[TestCase("Movie Name S01E04 Mexicos Death Train 720p WEB DL", false)]
[TestCase("Movie Name S02E21 720p WEB DL DD5 1 H 264", false)]
[TestCase("Movie Name S04E22 720p WEB DL DD5 1 H 264 NFHD", false)]