Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/3b385e8738f95e0a7af9b195cdad23d87d9d8939
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
5 additions and
0 deletions
@ -117,6 +117,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Series Title (2010) - 01-02-03 - Episode Title (1) HDTV-720p", "Series Title (2010)", new [] { 1 , 2 , 3 } ) ]
[TestCase("[RlsGrp] Series Title ( 2010 ) - S01E01 - 02 - 03 - 001 - 002 - 003 - Episode Title HDTV - 720 p v2 ", " Series Title ( 2010 ) ", new[] { 1, 2, 3 })]
[TestCase("[RlsGrp] Series Title ( 2010 ) - S01E01 - 02 - 001 - 002 - Episode Title HDTV - 720 p v2 ", " Series Title ( 2010 ) ", new[] { 1, 2 })]
[TestCase("Series Title (2010) - S01E01-02 (001-002) - Episode Title (1) HDTV-720p v2 [RlsGrp] ", " Series Title ( 2010 ) ", new[] { 1, 2 })]
public void should_parse_multi_episode_absolute_numbers ( string postTitle , string title , int [ ] absoluteEpisodeNumbers )
{
var result = Parser . Parser . ParseTitle ( postTitle ) ;
@ -54,6 +54,10 @@ namespace NzbDrone.Core.Parser
new Regex ( @"^\[(?<subgroup>.+?)\][-_. ]?(?<title>.+?)[-_. ]+(?:[-_. ]?(?<absoluteepisode>\d{2,3}(?!\d+)))+(?:[-_. ]+(?<special>special|ova|ovd))?.*?(?<hash>\[\w{8}\])?(?:$|\.mkv)" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
//Anime - Title Season EpisodeNumber + Absolute Episode Number [SubGroup]
new Regex ( @"^(?<title>.+?)(?:[-_\W](?<![()\[!]))+(?:S?(?<season>(?<!\d+)\d{1,2}(?!\d+))(?:(?:[ex]|\W[ex]){1,2}(?<episode>\d{2}(?!\d+)))+).+?(?:[-_. ]?(?<absoluteepisode>\d{3}(?!\d+)))+.+?\[(?<subgroup>.+?)\](?:$|\.mkv)" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
//Anime - Title Absolute Episode Number [SubGroup]
new Regex ( @"^(?<title>.+?)(?:(?:_|-|\s|\.)+(?<absoluteepisode>\d{3}(?!\d+)))+(?:.+?)\[(?<subgroup>.+?)\].*?(?<hash>\[\w{8}\])?(?:$|\.)" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,