Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/c39a26d9e06f003d9d89125681569411fd9ed163
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
2 additions and
5 deletions
@ -119,6 +119,7 @@ namespace NzbDrone.Core.Test.ParserTests
[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 })]
[TestCase("[HorribleSubs] Haikyuu ! ! ( 01 - 25 ) [ 1080 p ] ( Batch ) ", " Haikyuu ! ! ", new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 })]
public void should_parse_multi_episode_absolute_numbers ( string postTitle , string title , int [ ] absoluteEpisodeNumbers )
{
var result = Parser . Parser . ParseTitle ( postTitle ) ;
@ -46,12 +46,8 @@ namespace NzbDrone.Core.Parser
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 ) ,
//Anime - [SubGroup] Title Absolute Episode Number
new Regex ( @"^\[(?<subgroup>.+?)\][-_. ]?(?<title>.+?)[-_. ]+ (?:[-_. ]?(?<absoluteepisode>\d{2,3}(?!\d+)))+(?:[-_. ]+(?<special>special|ova|ovd))?.*?(?<hash>\[\w{8}\])?(?:$|\.mkv)",
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]