Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/f524fcd3e4a333e16c2f5729e2195cdf55849675
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
15 additions and
0 deletions
@ -64,6 +64,15 @@ namespace NzbDrone.Core.Test.MediaFiles.EpisodeImport.Specifications
Subject . IsSatisfiedBy ( _localEpisode , null ) . Accepted . Should ( ) . BeFalse ( ) ;
}
[Test]
public void should_accept_when_file_is_in_series_folder ( )
{
_localEpisode . ExistingFile = true ;
_localEpisode . Episodes . First ( ) . Title = "TBA" ;
Subject . IsSatisfiedBy ( _localEpisode , null ) . Accepted . Should ( ) . BeTrue ( ) ;
}
[Test]
public void should_accept_when_did_not_air_recently_but_title_is_TBA ( )
{
@ -31,6 +31,12 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Specifications
public Decision IsSatisfiedBy ( LocalEpisode localEpisode , DownloadClientItem downloadClientItem )
{
if ( localEpisode . ExistingFile )
{
_logger . Debug ( "{0} is in series folder, skipping check" , localEpisode . Path ) ;
return Decision . Accept ( ) ;
}
var episodeTitleRequired = _configService . EpisodeTitleRequired ;
if ( episodeTitleRequired = = EpisodeTitleRequiredType . Never )