mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 17:14:42 +01:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
@@ -916,6 +916,12 @@ namespace MediaBrowser.Controller.Providers.Movies
|
||||
}
|
||||
|
||||
movie.SetProviderId(MetadataProviders.Imdb, movieData.imdb_id);
|
||||
|
||||
if (movieData.belongs_to_collection != null)
|
||||
{
|
||||
movie.SetProviderId(MetadataProviders.TmdbCollection, movieData.belongs_to_collection.id.ToString(CultureInfo.InvariantCulture));
|
||||
}
|
||||
|
||||
float rating;
|
||||
string voteAvg = movieData.vote_average.ToString(CultureInfo.InvariantCulture);
|
||||
//tmdb appears to have unified their numbers to always report "7.3" regardless of country
|
||||
|
||||
Reference in New Issue
Block a user