1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

Fixed: Improved parsing of Web releases

Fixes #6371

bonus: refactored webdl parsing to be cleaner
This commit is contained in:
bakerboy448
2021-06-18 20:15:33 -05:00
parent ad77a438f8
commit e3b5efc9e5
2 changed files with 3 additions and 1 deletions
@@ -181,6 +181,8 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Movie.Name.2020.1080p.AMZN.WEB.", false)]
[TestCase("Movie Title - 2020 1080p Viva MKV WEB", false)]
[TestCase("[HorribleSubs] Movie Title! 2018 [Web][MKV][h264][1080p][AAC 2.0][Softsubs (HorribleSubs)]", false)]
[TestCase("Movie.Title.2020.MULTi.1080p.WEB.H264-ALLDAYiN (S:285/L:11)", false)]
[TestCase("Movie Title (2020) MULTi WEB 1080p x264-JiHEFF (S:317/L:28)", false)]
public void should_parse_webdl1080p_quality(string title, bool proper)
{
ParseAndVerifyQuality(title, Source.WEBDL, proper, Resolution.R1080p);