Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/66c805feaf77b0e64f70a62b0fc47965adef596d?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
3 additions and
2 deletions
@ -26,6 +26,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("My.Series.S2014.720p.HDTV.x264-ME", "My Series", 2014)]
[TestCase("My.Series.S2014.720p.HDTV.x264-ME", "My Series", 2014)]
[TestCase("Series.Saison3.VOSTFR.HDTV.XviD-NOTAG", "Series", 3)]
[TestCase("Series.Saison3.VOSTFR.HDTV.XviD-NOTAG", "Series", 3)]
[TestCase("Series.SAISON.1.VFQ.PDTV.H264-ACC-ROLLED", "Series", 1)]
[TestCase("Series.SAISON.1.VFQ.PDTV.H264-ACC-ROLLED", "Series", 1)]
[TestCase("Series Title - Series 1 (1970) DivX", "Series Title", 1)]
public void should_parse_full_season_release ( string postTitle , string title , int season )
public void should_parse_full_season_release ( string postTitle , string title , int season )
{
{
var result = Parser . Parser . ParseTitle ( postTitle ) ;
var result = Parser . Parser . ParseTitle ( postTitle ) ;
@ -240,11 +240,11 @@ namespace NzbDrone.Core.Parser
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
//Season only releases
//Season only releases
new Regex ( @"^(?<title>.+?) \W(?:S|Season|Saison)\W?(?<season>\d{1,2}(?! \d+))(\W+|_|$)(?<extras>EXTRAS|SUBPACK)?(?!\\)",
new Regex ( @"^(?<title>.+?) [-_. ]+?(?:S|Season|Saison|Series)[-_. ]?(?<season>\d{1,2}(?![-_. ]? \d+))(\W+|_|$)(?<extras>EXTRAS|SUBPACK)?(?!\\)",
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
//4 digit season only releases
//4 digit season only releases
new Regex ( @"^(?<title>.+?) \W(?:S|Season|Saison)\W?(?<season>\d{4}(?! \d+))(\W+|_|$)(?<extras>EXTRAS|SUBPACK)?(?!\\)",
new Regex ( @"^(?<title>.+?) [-_. ]+?(?:S|Season|Saison|Series)[-_. ]?(?<season>\d{4}(?![-_. ]? \d+))(\W+|_|$)(?<extras>EXTRAS|SUBPACK)?(?!\\)",
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ,
//Episodes with a title and season/episode in square brackets
//Episodes with a title and season/episode in square brackets