mirror of
https://github.com/Radarr/Radarr
synced 2024-12-25 01:11:43 +00:00
Treat WEBRip as WEBDL
This commit is contained in:
parent
6397239435
commit
6351011cce
2 changed files with 4 additions and 2 deletions
|
@ -78,7 +78,9 @@ public class QualityParserFixture : CoreTest
|
|||
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 =
|
||||
|
|
|
@ -279,7 +279,7 @@ private static QualityModel ParseQuality(string name)
|
|||
result.Quality = Quality.Bluray720p;
|
||||
return result;
|
||||
}
|
||||
if (normalizedName.Contains("webdl"))
|
||||
if (normalizedName.Contains("webdl") || normalizedName.Contains("webrip"))
|
||||
{
|
||||
if (normalizedName.Contains("1080p"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue