mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #6033] [MERGED] Call TMDb Person API with metadata language #10783
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/6033
Author: @daullmer
Created: 5/12/2021
Status: ✅ Merged
Merged: 5/20/2021
Merged by: @Bond-009
Base:
master← Head:tmdb-person-language📝 Commits (5)
c584d36Fix Tmdb person language96e05e5Add tests for NoralizeLanguage6353966Fix cache keyee7a95eMove GetMetadataLanguagea7b7ff0Merge branch 'master' into tmdb-person-language📊 Changes
6 files changed (+44 additions, -11 deletions)
View changed files
📝
MediaBrowser.Providers/Plugins/Tmdb/People/TmdbPersonImageProvider.cs(+2 -3)📝
MediaBrowser.Providers/Plugins/Tmdb/People/TmdbPersonProvider.cs(+2 -3)📝
MediaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs(+4 -2)📝
MediaBrowser.Providers/Plugins/Tmdb/TmdbUtils.cs(+6 -0)📝
tests/Jellyfin.Providers.Tests/Jellyfin.Providers.Tests.csproj(+3 -3)➕
tests/Jellyfin.Providers.Tests/Tmdb/TmdbUtilsTests.cs(+27 -0)📄 Description
Changes
Persons always had their English biography instead of the localized one.
I also changed the
NormalizeLanguagemethod because the TMDb API doesn't support de-CH, fr-CH and it-CH, so it now uses the language without the country code.Issues
Fixes #6015
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.