mirror of https://github.com/Sonarr/Sonarr
Resolved failing search due to missing Scene season number.
This commit is contained in:
parent
35396ea44e
commit
b532661a27
|
@ -226,7 +226,7 @@ namespace NzbDrone.Core.IndexerSearch
|
||||||
spec.Series = series;
|
spec.Series = series;
|
||||||
spec.SceneTitles = _sceneMapping.GetSceneNames(series.TvdbId,
|
spec.SceneTitles = _sceneMapping.GetSceneNames(series.TvdbId,
|
||||||
episodes.Select(e => e.SeasonNumber)
|
episodes.Select(e => e.SeasonNumber)
|
||||||
.Concat(episodes.Select(e => e.SceneSeasonNumber.Value)
|
.Concat(episodes.Where(v => v.SceneSeasonNumber.HasValue).Select(e => e.SceneSeasonNumber.Value)
|
||||||
.Distinct()));
|
.Distinct()));
|
||||||
|
|
||||||
spec.Episodes = episodes;
|
spec.Episodes = episodes;
|
||||||
|
|
Loading…
Reference in New Issue