Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/ee7a95e088520f835a4d179c7c5faec5eaa8f9ff You should set ROOT_URL correctly, otherwise the web may not work correctly.

Move GetMetadataLanguage

pull/6033/head
David Ullmer 4 years ago
parent 6353966abd
commit ee7a95e088

@ -48,13 +48,13 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.People
public async Task<IEnumerable<RemoteImageInfo>> GetImages(BaseItem item, CancellationToken cancellationToken)
{
var person = (Person)item;
var language = item.GetPreferredMetadataLanguage();
if (!person.TryGetProviderId(MetadataProvider.Tmdb, out var personTmdbId))
{
return Enumerable.Empty<RemoteImageInfo>();
}
var language = item.GetPreferredMetadataLanguage();
var personResult = await _tmdbClientManager.GetPersonAsync(int.Parse(personTmdbId, CultureInfo.InvariantCulture), language, cancellationToken).ConfigureAwait(false);
if (personResult?.Images?.Profiles == null)
{

Loading…
Cancel
Save