1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +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 @@ private List<DownloadDecision> SearchAnimeSeason(Series series, List<Episode> ep
spec.Series = series;
spec.SceneTitles = _sceneMapping.GetSceneNames(series.TvdbId,
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()));
spec.Episodes = episodes;