Merge pull request #5671 from jellyfin/tmdbmovieprovider-originaltitle

set original title in tmdbmovieprovider
This commit is contained in:
Bond-009 2021-04-01 17:39:22 +02:00 committed by GitHub
commit 7c51d0a50e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,6 +175,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.Movies
var movie = new Movie var movie = new Movie
{ {
Name = movieResult.Title ?? movieResult.OriginalTitle, Name = movieResult.Title ?? movieResult.OriginalTitle,
OriginalTitle = movieResult.OriginalTitle,
Overview = movieResult.Overview?.Replace("\n\n", "\n", StringComparison.InvariantCulture), Overview = movieResult.Overview?.Replace("\n\n", "\n", StringComparison.InvariantCulture),
Tagline = movieResult.Tagline, Tagline = movieResult.Tagline,
ProductionLocations = movieResult.ProductionCountries.Select(pc => pc.Name).ToArray() ProductionLocations = movieResult.ProductionCountries.Select(pc => pc.Name).ToArray()