From 3635a46157a5335650210b2eb7a7622983842c3f Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Sun, 20 Oct 2024 11:14:39 +0200 Subject: [PATCH] fix: don't limit title search to 1 result in tmdb episode linking --- Shoko.Server/Providers/TMDB/TmdbLinkingService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shoko.Server/Providers/TMDB/TmdbLinkingService.cs b/Shoko.Server/Providers/TMDB/TmdbLinkingService.cs index 30f6567e6..25ee3be8e 100644 --- a/Shoko.Server/Providers/TMDB/TmdbLinkingService.cs +++ b/Shoko.Server/Providers/TMDB/TmdbLinkingService.cs @@ -629,7 +629,7 @@ private CrossRef_AniDB_TMDB_Episode TryFindAnidbAndTmdbMatch(SVR_AniDB_Anime ani .ThenBy(result => result.episode.EpisodeNumber) .ToList(); var titleSearchResults = !string.IsNullOrEmpty(anidbTitle) ? tmdbEpisodes - .Search(anidbTitle, episode => [episode.EnglishTitle], true, 1) + .Search(anidbTitle, episode => [episode.EnglishTitle], true) .OrderBy(result => result) .ToList() : [];