1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 07:22:35 +01:00

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

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;