mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Fixed: Series search will skip Seasons that are not monitored
This commit is contained in:
parent
61d1026fb8
commit
760bcbb2ce
2 changed files with 10 additions and 4 deletions
|
@ -32,6 +32,12 @@ namespace NzbDrone.Core.IndexerSearch
|
|||
|
||||
foreach (var season in series.Seasons)
|
||||
{
|
||||
if (!season.Monitored)
|
||||
{
|
||||
_logger.Debug("Season {0} of {1} is not monitored, skipping seaarch", season.SeasonNumber, series.Title);
|
||||
continue;
|
||||
}
|
||||
|
||||
var decisions = _nzbSearchService.SeasonSearch(message.SeriesId, season.SeasonNumber);
|
||||
downloadedCount += _downloadApprovedReports.DownloadApproved(decisions).Count;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue