fix: search anime error when encounter multiple seasons

This commit is contained in:
dwjz 2023-11-30 02:48:59 +08:00
parent c6ad2396bb
commit 4bf346ca0b
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ namespace NzbDrone.Core.IndexerSearch
searchSpec.SeasonNumber = episode.SceneSeasonNumber ?? episode.SeasonNumber;
searchSpec.EpisodeNumber = episode.SceneEpisodeNumber ?? episode.EpisodeNumber;
searchSpec.AbsoluteEpisodeNumber = episode.SceneAbsoluteEpisodeNumber ?? episode.AbsoluteEpisodeNumber ?? 0;
searchSpec.AbsoluteEpisodeNumber = episode.AbsoluteEpisodeNumber ?? episode.SceneAbsoluteEpisodeNumber ?? 0;
return await Dispatch(indexer => indexer.Fetch(searchSpec), searchSpec);
}