mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix missing posters in collection identify
This commit is contained in:
parent
c8da8eefe0
commit
f7479bc730
@ -75,12 +75,14 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.BoxSets
|
|||||||
var collections = new RemoteSearchResult[collectionSearchResults.Count];
|
var collections = new RemoteSearchResult[collectionSearchResults.Count];
|
||||||
for (var i = 0; i < collectionSearchResults.Count; i++)
|
for (var i = 0; i < collectionSearchResults.Count; i++)
|
||||||
{
|
{
|
||||||
|
var result = collectionSearchResults[i];
|
||||||
var collection = new RemoteSearchResult
|
var collection = new RemoteSearchResult
|
||||||
{
|
{
|
||||||
Name = collectionSearchResults[i].Name,
|
Name = result.Name,
|
||||||
SearchProviderName = 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;
|
collections[i] = collection;
|
||||||
}
|
}
|
||||||
|
@ -299,7 +299,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.Movies
|
|||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(person.ProfilePath))
|
if (!string.IsNullOrWhiteSpace(person.ProfilePath))
|
||||||
{
|
{
|
||||||
personInfo.ImageUrl = _tmdbClientManager.GetPosterUrl(person.ProfilePath);
|
personInfo.ImageUrl = _tmdbClientManager.GetProfileUrl(person.ProfilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (person.Id > 0)
|
if (person.Id > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user