mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
Fixed: Duplicate scene titles causes unnecessary indexer queries.
fixes #2068
This commit is contained in:
@@ -19,7 +19,7 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
|
||||
public virtual bool MonitoredEpisodesOnly { get; set; }
|
||||
public virtual bool UserInvokedSearch { get; set; }
|
||||
|
||||
public List<string> QueryTitles => SceneTitles.Select(GetQueryTitle).ToList();
|
||||
public List<string> QueryTitles => SceneTitles.Select(GetQueryTitle).Distinct().ToList();
|
||||
|
||||
public static string GetQueryTitle(string title)
|
||||
{
|
||||
@@ -37,4 +37,4 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
|
||||
return cleanTitle.Trim('+', ' ');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user