PDTV will treated as SDTV.

pull/2/head
Mark McDowall 13 years ago
parent 57f380c70f
commit 7a1301610a

@ -157,6 +157,7 @@ namespace NzbDrone.Core.Test
[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 @@ namespace NzbDrone.Core
return result;
}
if ((normalizedName.Contains("sdtv") ||
if ((normalizedName.Contains("sdtv") || normalizedName.Contains("pdtv") ||
(result.QualityType == QualityTypes.Unknown && normalizedName.Contains("hdtv"))) &&
!normalizedName.Contains("mpeg"))
{

Loading…
Cancel
Save