diff options
| author | Rant423 <87147930+Rant423@users.noreply.github.com> | 2026-06-17 20:39:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-17 20:39:33 +0200 |
| commit | 5036bf7db0a44e7917f8930e9a894df3f6934d18 (patch) | |
| tree | e15acaf08972d33950aa3f48fc64c25bcd92ed42 | |
| parent | 1c4dea4b2c790a3489502e6e94ab671a29014830 (diff) | |
Fetch TV Shows creators from TMDB (#17107)
Fetch TV Shows creators from TMDB
| -rwxr-xr-x[-rw-r--r--] | MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbSeriesProvider.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbSeriesProvider.cs b/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbSeriesProvider.cs index 1eb411f0f6..b2f9d13e73 100644..100755 --- a/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbSeriesProvider.cs +++ b/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbSeriesProvider.cs @@ -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 /> |
