Treat WEBRip as WEBDL

This commit is contained in:
Mark McDowall 2013-05-27 08:21:31 -07:00
parent 6397239435
commit 6351011cce
2 changed files with 4 additions and 2 deletions

View File

@ -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-1080p]", Quality.HDTV1080p, 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 =

View File

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