Fetch TV Shows creators from TMDB (#17107)

Fetch TV Shows creators from TMDB
This commit is contained in:
Rant423
2026-06-17 20:39:33 +02:00
committed by GitHub
parent 1c4dea4b2c
commit 5036bf7db0

View File

@@ -417,6 +417,31 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TV
yield return personInfo;
}
}
if (seriesResult.CreatedBy is not null)
{
foreach (var person in seriesResult.CreatedBy)
{
if (string.IsNullOrWhiteSpace(person.Name))
{
continue;
}
var personInfo = new PersonInfo
{
Name = person.Name.Trim(),
Type = PersonKind.Creator,
ImageUrl = _tmdbClientManager.GetProfileUrl(person.ProfilePath)
};
if (person.Id > 0)
{
personInfo.SetProviderId(MetadataProvider.Tmdb, person.Id.ToString(CultureInfo.InvariantCulture));
}
yield return personInfo;
}
}
}
/// <inheritdoc />