mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
PDTV will treated as SDTV.
This commit is contained in:
parent
57f380c70f
commit
7a1301610a
2 changed files with 2 additions and 1 deletions
|
@ -157,6 +157,7 @@ public void unparsable_title_should_report_title()
|
|||
[TestCase("Nikita S02E01 HDTV XviD 2HD", QualityTypes.SDTV, false)]
|
||||
[TestCase("Gossip Girl S05E11 PROPER HDTV XviD 2HD", QualityTypes.SDTV, true)]
|
||||
[TestCase("The Jonathan Ross Show S02E08 HDTV x264 FTP", QualityTypes.SDTV, false)]
|
||||
[TestCase("White.Van.Man.2011.S02E01.WS.PDTV.x264-TLA", QualityTypes.SDTV, false)]
|
||||
public void quality_parse(string postTitle, object quality, bool proper)
|
||||
{
|
||||
var result = Parser.ParseQuality(postTitle);
|
||||
|
|
|
@ -336,7 +336,7 @@ internal static Quality ParseQuality(string name)
|
|||
return result;
|
||||
}
|
||||
|
||||
if ((normalizedName.Contains("sdtv") ||
|
||||
if ((normalizedName.Contains("sdtv") || normalizedName.Contains("pdtv") ||
|
||||
(result.QualityType == QualityTypes.Unknown && normalizedName.Contains("hdtv"))) &&
|
||||
!normalizedName.Contains("mpeg"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue