Resolved failing search due to missing Scene season number.

This commit is contained in:
Taloth Saldono 2014-10-21 22:04:51 +02:00
parent 35396ea44e
commit b532661a27
1 changed files with 1 additions and 1 deletions

View File

@ -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;