Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/0d95873a05b640eaff02deaa1f4071cde4fa0b86
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
7 additions and
0 deletions
@ -91,6 +91,9 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Love Rerun 2018 06 720p x265 AOZ.mp4", "Love Rerun 2018", 6, 0, 0)]
[TestCase("Boku No Hero Academia S03 - EP14 VOSTFR [1080p] [ HardSub ] Yass ' Kun ", " Boku No Hero Academia S03 ", 14, 0, 0)]
[TestCase("Boku No Hero Academia S3 - 15 VOSTFR [720p] ", " Boku No Hero Academia S3 ", 15, 0, 0)]
[TestCase("Tokyo Ghoul: RE S2 - Episode 4 VOSTFR (1080p)", "Tokyo Ghoul RE S2", 4, 0, 0)]
[TestCase("To Aru Majutsu no Index III - Episode 5 VOSTFR (1080p)", "To Aru Majutsu no Index III", 5, 0, 0)]
[TestCase("[Prout] Steins ; Gate 0 - Episode 5 VOSTFR ( BDRip 1920 x1080 x264 FLAC ) ", " Steins ; Gate 0 ", 5, 0, 0)]
//[TestCase("", "", 0, 0, 0)]
public void should_parse_absolute_numbers ( string postTitle , string title , int absoluteEpisodeNumber , int seasonNumber , int episodeNumber )
{
@ -170,6 +170,10 @@ namespace NzbDrone.Core.Parser
new Regex ( @"^(?<title>.+?S\d{1,2})[-_. ]{3,}(?:EP)?(?<absoluteepisode>\d{2,3}(?!\d+|[-]))" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
// Anime - French titles with single episode numbers, with or without leading sub group ([RlsGroup] Title - Episode 1)
new Regex ( @"^(?:\[(?<subgroup>.+?)\][-_. ]?)?(?<title>.+?)[-_. ]+?(?:Episode[-_. ]+?)(?<absoluteepisode>\d{1}(?!\d+))" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
//Season only releases
new Regex ( @"^(?<title>.+?)\W(?:S|Season)\W?(?<season>\d{1,2}(?!\d+))(\W+|_|$)(?<extras>EXTRAS|SUBPACK)?(?!\\)" ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,