1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 18:28:19 +00:00

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-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 =

View file

@ -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"))
{ {