From 004e1bb17e14bef1697b6b993f6ff92b77cdaeb4 Mon Sep 17 00:00:00 2001 From: Gylesie <86306812+Gylesie@users.noreply.github.com> Date: Tue, 16 Aug 2022 17:56:46 +0200 Subject: [PATCH] fix(api): lookup shows using english title only (#2911) Fixes most of the time irrelevant lookup list when using localized TMDB metadata. #2801 --- server/routes/service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/service.ts b/server/routes/service.ts index 5c2fe969d..a0c375f00 100644 --- a/server/routes/service.ts +++ b/server/routes/service.ts @@ -191,7 +191,7 @@ serviceRoutes.get<{ tmdbId: string }>( try { const tv = await tmdb.getTvShow({ tvId: Number(req.params.tmdbId), - language: req.locale ?? (req.query.language as string), + language: 'en', }); const response = await sonarr.getSeriesByTitle(tv.name);