The Free Software Media System - Server Backend & API
Fix missing posters in collection identify
Joe Rogersf7479bc73013
diff --git a/MediaBrowser.Providers/Plugins/Tmdb/BoxSets/TmdbBoxSetProvider.cs b/MediaBrowser.Providers/Plugins/Tmdb/BoxSets/TmdbBoxSetProvider.csindex c2018d820e..c76c65591f 100644--- a/MediaBrowser.Providers/Plugins/Tmdb/BoxSets/TmdbBoxSetProvider.cs+++ b/MediaBrowser.Providers/Plugins/Tmdb/BoxSets/TmdbBoxSetProvider.cs@@ -75,12 +75,14 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.BoxSetsvar collections = new RemoteSearchResult[collectionSearchResults.Count];for (var i = 0; i < collectionSearchResults.Count; i++){+ var result = collectionSearchResults[i];var collection = new RemoteSearchResult{- Name = collectionSearchResults[i].Name,- SearchProviderName = Name+ Name = result.Name,+ SearchProviderName = Name,+ ImageUrl = _tmdbClientManager.GetPosterUrl(result.PosterPath)};- collection.SetProviderId(MetadataProvider.Tmdb, collectionSearchResults[i].Id.ToString(CultureInfo.InvariantCulture));+ collection.SetProviderId(MetadataProvider.Tmdb, result.Id.ToString(CultureInfo.InvariantCulture));collections[i] = collection;}diff --git a/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs b/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.csindex 2f62e117eb..dac7a74ed8 100644--- a/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs+++ b/MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs@@ -299,7 +299,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.Moviesif (!string.IsNullOrWhiteSpace(person.ProfilePath)){- personInfo.ImageUrl = _tmdbClientManager.GetPosterUrl(person.ProfilePath);+ personInfo.ImageUrl = _tmdbClientManager.GetProfileUrl(person.ProfilePath);}if (person.Id > 0)