Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/465bb403a920eab7bf9bc380763243394c3bb014
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
3 additions and
1 deletions
@ -429,6 +429,8 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Movie.Title.2016.1080p.KORSUBS.WEBRip.x264.AAC2.0-RADARR", "KORSUBS")]
[TestCase("Movie Title 2017 HC 720p HDRiP DD5 1 x264-LEGi0N", "Generic Hardcoded Subs")]
[TestCase("Movie.Title.2017.720p.SUBBED.HDRip.V2.XViD-26k.avi", "Generic Hardcoded Subs")]
[TestCase("Movie Title! 2018 [Web] [ MKV ] [ h264 ] [ 480 p ] [ AAC 2.0 ] [ Softsubs ] ", null)]
[TestCase("Movie Title! 2019 [HorribleSubs] [ Web ] [ MKV ] [ h264 ] [ 848 x480 ] [ AAC 2.0 ] [ Softsubs ( HorribleSubs ) ] ", null)]
public void should_parse_hardcoded_subs ( string postTitle , string sub )
{
QualityParser . ParseQuality ( postTitle ) . HardcodedSubs . Should ( ) . Be ( sub ) ;
@ -77,7 +77,7 @@ namespace NzbDrone.Core.Parser
private static readonly Regex HDShitQualityRegex = new Regex ( @"(HD-TS|HDTS|HDTSRip|HD-TC|HDTC|HDCAM|HD-CAM)" , RegexOptions . Compiled | RegexOptions . IgnoreCase ) ;
private static readonly Regex HardcodedSubsRegex = new Regex ( @"\b(?<hcsub>(\w+ SUBS?)\b)|(?<hc>(HC|SUBBED))\b",
private static readonly Regex HardcodedSubsRegex = new Regex ( @"\b(?<hcsub>(\w+ (?<!(SOFT|HORRIBLE)) SUBS?)\b)|(?<hc>(HC|SUBBED))\b",
RegexOptions . Compiled | RegexOptions . IgnoreCase | RegexOptions . IgnorePatternWhitespace ) ;
public static QualityModel ParseQuality ( string name )