Treat WEBRip as WEBDL

pull/4/head
Mark McDowall 12 years ago
parent 6397239435
commit 6351011cce

@ -78,7 +78,9 @@ namespace NzbDrone.Core.Test.ParserTests
new object[] { "Dexter - S01E01 - Title [HDTV-720p]", Quality.HDTV720p, false }, new object[] { "Dexter - S01E01 - Title [HDTV-720p]", Quality.HDTV720p, false },
new object[] { "Dexter - S01E01 - Title [HDTV-1080p]", Quality.HDTV1080p, false }, new object[] { "Dexter - S01E01 - Title [HDTV-1080p]", Quality.HDTV1080p, false },
new object[] { "POI S02E11 1080i HDTV DD5.1 MPEG2-TrollHD", Quality.RAWHD, false }, new object[] { "POI S02E11 1080i HDTV DD5.1 MPEG2-TrollHD", Quality.RAWHD, false },
new object[] { "How I Met Your Mother S01E18 Nothing Good Happens After 2 A.M. 720p HDTV DD5.1 MPEG2-TrollHD", Quality.RAWHD, false } new object[] { "How I Met Your Mother S01E18 Nothing Good Happens After 2 A.M. 720p HDTV DD5.1 MPEG2-TrollHD", Quality.RAWHD, false },
new object[] { "Arrested.Development.S04E01.iNTERNAL.1080p.WEBRip.x264-QRUS", Quality.WEBDL1080p, false },
new object[] { "Arrested.Development.S04E01.720p.WEBRip.AAC2.0.x264-NFRiP", Quality.WEBDL720p, false }
}; };
public static object[] SelfQualityParserCases = public static object[] SelfQualityParserCases =

@ -279,7 +279,7 @@ namespace NzbDrone.Core.Parser
result.Quality = Quality.Bluray720p; result.Quality = Quality.Bluray720p;
return result; return result;
} }
if (normalizedName.Contains("webdl")) if (normalizedName.Contains("webdl") || normalizedName.Contains("webrip"))
{ {
if (normalizedName.Contains("1080p")) if (normalizedName.Contains("1080p"))
{ {

Loading…
Cancel
Save