Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/eb8af600297496a73f9f0524994f4850969d3b81
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
5 additions and
0 deletions
@ -81,6 +81,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("[Hatsuyuki] Dragon Ball Kai ( 2014 ) - 017 ( 115 ) [ 1280 x720 ] [ B2CFBC0F ] ", " Dragon Ball Kai 2014 ", 17, 0, 0)]
[TestCase("[Hatsuyuki] Dragon Ball Kai ( 2014 ) - 018 ( 116 ) [ 1280 x720 ] [ C4A3B16E ] ", " Dragon Ball Kai 2014 ", 18, 0, 0)]
[TestCase("Dragon Ball Kai (2014) - 39 (137) [v2] [ 720 p . HDTV ] [ Unison Fansub ] ", " Dragon Ball Kai 2014 ", 39, 0, 0)]
[TestCase("[HorribleSubs] Eyeshield 21 - 101 [ 480 p ] . mkv ", " Eyeshield 21 ", 101, 0, 0)]
//[TestCase("", "", 0, 0, 0)]
public void should_parse_absolute_numbers ( string postTitle , string title , int absoluteEpisodeNumber , int seasonNumber , int episodeNumber )
{
@ -42,6 +42,10 @@ namespace NzbDrone.Core.Parser
new Regex ( @"^(?:\[(?<subgroup>.+?)\](?:_|-|\s|\.)?)(?<title>.+?)(?:\W|_)+(?:S?(?<season>(?<!\d+)\d{1,2}(?!\d+))(?:(?:[ex]|\W[ex]){1,2}(?<episode>\d{2}(?!\d+)))+)(?:\s|\.).*?(?<hash>\[\w{8}\])?(?:$|\.)" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
//Anime - [SubGroup] Title with trailing number Absolute Episode Number
new Regex ( @"^\[(?<subgroup>.+?)\][-_. ]?(?<title>[^-]+?\d+?)[-_. ]+(?:[-_. ]?(?<absoluteepisode>\d{3}(?!\d+)))+(?:[-_. ]+(?<special>special|ova|ovd))?.*?(?<hash>\[\w{8}\])?(?:$|\.mkv)" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
//Anime - [SubGroup] Title Absolute Episode Number
new Regex ( @"^\[(?<subgroup>.+?)\][-_. ]?(?<title>.+?)[-_. ]+(?:[-_. ]?(?<absoluteepisode>\d{2,3}(?!\d+)))+(?:[-_. ]+(?<special>special|ova|ovd))?.*?(?<hash>\[\w{8}\])?(?:$|\.mkv)" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,