Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/53bfd43fbaaa1e2715a1660fe9ba3fe94403db9e?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
0 deletions
@ -351,6 +351,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Salamander.S01E01.FLEMISH.HDTV.x264-BRiGAND", Language.Flemish)]
[TestCase("Salamander.S01E01.FLEMISH.HDTV.x264-BRiGAND", Language.Flemish)]
[TestCase("H.Polukatoikia.S03E13.Greek.PDTV.XviD-Ouzo", Language.Greek)]
[TestCase("H.Polukatoikia.S03E13.Greek.PDTV.XviD-Ouzo", Language.Greek)]
[TestCase("Burn.Notice.S04E15.Brotherly.Love.GERMAN.DUBBED.WS.WEBRiP.XviD.REPACK-TVP", Language.German)]
[TestCase("Burn.Notice.S04E15.Brotherly.Love.GERMAN.DUBBED.WS.WEBRiP.XviD.REPACK-TVP", Language.German)]
[TestCase("Ray Donovan - S01E01.720p.HDtv.x264-Evolve (NLsub)", Language.Norwegian)]
public void parse_language ( string postTitle , Language language )
public void parse_language ( string postTitle , Language language )
{
{
var result = Parser . Parser . ParseTitle ( postTitle ) ;
var result = Parser . Parser . ParseTitle ( postTitle ) ;
@ -450,6 +450,9 @@ namespace NzbDrone.Core.Parser
if ( lowerTitle . Contains ( "portuguese" ) )
if ( lowerTitle . Contains ( "portuguese" ) )
return Language . Portuguese ;
return Language . Portuguese ;
if ( lowerTitle . Contains ( "nlsub" ) )
return Language . Norwegian ;
var match = LanguageRegex . Match ( title ) ;
var match = LanguageRegex . Match ( title ) ;
if ( match . Groups [ "italian" ] . Captures . Cast < Capture > ( ) . Any ( ) )
if ( match . Groups [ "italian" ] . Captures . Cast < Capture > ( ) . Any ( ) )