mirror of
https://github.com/Sonarr/Sonarr
synced 2025-03-04 18:48:36 +00:00
Fixed: Don't search for unmonitored specials when searching season
Closes #7589
This commit is contained in:
parent
963395b969
commit
ba22992265
1 changed files with 2 additions and 0 deletions
|
@ -367,7 +367,9 @@ namespace NzbDrone.Core.IndexerSearch
|
|||
|
||||
// build list of queries for each episode in the form: "<series> <episode-title>"
|
||||
searchSpec.EpisodeQueryTitles = episodes.Where(e => !string.IsNullOrWhiteSpace(e.Title))
|
||||
.Where(e => interactiveSearch || !monitoredOnly || e.Monitored)
|
||||
.SelectMany(e => searchSpec.CleanSceneTitles.Select(title => title + " " + SearchCriteriaBase.GetCleanSceneTitle(e.Title)))
|
||||
.Distinct(StringComparer.InvariantCultureIgnoreCase)
|
||||
.ToArray();
|
||||
|
||||
downloadDecisions.AddRange(await Dispatch(indexer => indexer.Fetch(searchSpec), searchSpec));
|
||||
|
|
Loading…
Add table
Reference in a new issue