Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/37959fd75305ce150311a9b8cf7698cd09ddb3e8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
21 additions and
5 deletions
@ -105,10 +105,23 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
}
[Test]
public void should_return_true_ if_it_is_a _search( )
public void should_return_true_ for_single_episode _search( )
{
_fakeSeries . Monitored = false ;
_monitoredEpisodeSpecification . IsSatisfiedBy ( _parseResultMulti , new SeasonSearchCriteria ( ) ) . Accepted . Should ( ) . BeTrue ( ) ;
_monitoredEpisodeSpecification . IsSatisfiedBy ( _parseResultSingle , new SingleEpisodeSearchCriteria ( ) ) . Accepted . Should ( ) . BeTrue ( ) ;
}
[Test]
public void should_return_true_if_episode_is_monitored_for_season_search ( )
{
_monitoredEpisodeSpecification . IsSatisfiedBy ( _parseResultSingle , new SeasonSearchCriteria ( ) ) . Accepted . Should ( ) . BeTrue ( ) ;
}
[Test]
public void should_return_false_if_episode_is_not_monitored_for_season_search ( )
{
WithFirstEpisodeUnmonitored ( ) ;
_monitoredEpisodeSpecification . IsSatisfiedBy ( _parseResultSingle , new SeasonSearchCriteria ( ) ) . Accepted . Should ( ) . BeFalse ( ) ;
}
}
}
@ -20,8 +20,11 @@ namespace NzbDrone.Core.DecisionEngine.Specifications.RssSync
{
if ( searchCriteria ! = null )
{
_logger . Debug ( "Skipping monitored check during search" ) ;
return Decision . Accept ( ) ;
if ( ( searchCriteria as SeasonSearchCriteria ) = = null )
{
_logger . Debug ( "Skipping monitored check during search" ) ;
return Decision . Accept ( ) ;
}
}
if ( ! subject . Series . Monitored )
@ -35,7 +35,7 @@ namespace NzbDrone.Core.IndexerSearch
{
if ( ! season . Monitored )
{
_logger . Debug ( "Season {0} of {1} is not monitored, skipping sea a rch", season . SeasonNumber , series . Title ) ;
_logger . Debug ( "Season {0} of {1} is not monitored, skipping sea rch", season . SeasonNumber , series . Title ) ;
continue ;
}