Skip to content

Commit

Permalink
fix(api): lookup shows using english title only (#2911)
Browse files Browse the repository at this point in the history
Fixes most of the time irrelevant lookup list when using localized TMDB metadata. #2801
  • Loading branch information
Gylesie committed Aug 16, 2022
1 parent ebd22ff commit 004e1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 004e1bb

Please sign in to comment.