mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 10:19:41 +00:00
Fixed: Treat WebHD as Web-DL
This commit is contained in:
parent
9d5d3ce4c3
commit
c4836975a9
2 changed files with 2 additions and 1 deletions
|
@ -137,6 +137,7 @@ public void should_parse_hdtv1080p_quality(string title, bool proper)
|
||||||
[TestCase("House.S04.720p.Web-Dl.Dd5.1.h264-P2PACK", false)]
|
[TestCase("House.S04.720p.Web-Dl.Dd5.1.h264-P2PACK", false)]
|
||||||
[TestCase("Da.Vincis.Demons.S02E04.720p.WEB.DL.nSD.x264-NhaNc3", false)]
|
[TestCase("Da.Vincis.Demons.S02E04.720p.WEB.DL.nSD.x264-NhaNc3", false)]
|
||||||
[TestCase("CSI.Miami.S04E25.720p.iTunesHD.AVC-TVS", false)]
|
[TestCase("CSI.Miami.S04E25.720p.iTunesHD.AVC-TVS", false)]
|
||||||
|
[TestCase("Castle.S06E23.720p.WebHD.h264-euHD", false)]
|
||||||
public void should_parse_webdl720p_quality(string title, bool proper)
|
public void should_parse_webdl720p_quality(string title, bool proper)
|
||||||
{
|
{
|
||||||
ParseAndVerifyQuality(title, Quality.WEBDL720p, proper);
|
ParseAndVerifyQuality(title, Quality.WEBDL720p, proper);
|
||||||
|
|
|
@ -14,7 +14,7 @@ public class QualityParser
|
||||||
|
|
||||||
private static readonly Regex SourceRegex = new Regex(@"\b(?:
|
private static readonly Regex SourceRegex = new Regex(@"\b(?:
|
||||||
(?<bluray>BluRay|Blu-Ray)|
|
(?<bluray>BluRay|Blu-Ray)|
|
||||||
(?<webdl>WEB[-_. ]DL|WEBDL|WebRip|iTunesHD)|
|
(?<webdl>WEB[-_. ]DL|WEBDL|WebRip|iTunesHD|WebHD)|
|
||||||
(?<hdtv>HDTV)|
|
(?<hdtv>HDTV)|
|
||||||
(?<bdrip>BDRiP)|
|
(?<bdrip>BDRiP)|
|
||||||
(?<brrip>BRRip)|
|
(?<brrip>BRRip)|
|
||||||
|
|
Loading…
Reference in a new issue