diff --git a/CHANGELOG.md b/CHANGELOG.md index 20ada6b1d..42b78f90d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Added +- Synchronize actor metadata from Jellyfin and Emby television libraries + - New libraries will get actor data automatically; existing libraries can deep scan to retrieve actor data + ### Fixed - Fix extracting embedded text subtitles that had been incompletely extracted in the past - Fix fallback filler looping by forcing software mode for this content diff --git a/ErsatzTV.Infrastructure/Emby/EmbyApiClient.cs b/ErsatzTV.Infrastructure/Emby/EmbyApiClient.cs index 17a48ca09..6cce07eff 100644 --- a/ErsatzTV.Infrastructure/Emby/EmbyApiClient.cs +++ b/ErsatzTV.Infrastructure/Emby/EmbyApiClient.cs @@ -744,7 +744,7 @@ public class EmbyApiClient : IEmbyApiClient Genres = Optional(item.Genres).Flatten().Map(g => new Genre { Name = g }).ToList(), Tags = Optional(item.TagItems).Flatten().Map(t => new Tag { Name = t.Name }).ToList(), Studios = new List(), - Actors = new List(), + Actors = Optional(item.People).Flatten().Collect(r => ProjectToActor(r, dateAdded)).ToList(), Artwork = new List(), Guids = GuidsFromProviderIds(item.ProviderIds), Directors = Optional(item.People).Flatten().Collect(r => ProjectToDirector(r)).ToList(), diff --git a/ErsatzTV.Infrastructure/Jellyfin/JellyfinApiClient.cs b/ErsatzTV.Infrastructure/Jellyfin/JellyfinApiClient.cs index f205c3a53..d4216a1b4 100644 --- a/ErsatzTV.Infrastructure/Jellyfin/JellyfinApiClient.cs +++ b/ErsatzTV.Infrastructure/Jellyfin/JellyfinApiClient.cs @@ -831,7 +831,7 @@ public class JellyfinApiClient : IJellyfinApiClient Genres = Optional(item.Genres).Flatten().Map(g => new Genre { Name = g }).ToList(), Tags = Optional(item.Tags).Flatten().Map(t => new Tag { Name = t }).ToList(), Studios = new List(), - Actors = new List(), + Actors = Optional(item.People).Flatten().Collect(r => ProjectToActor(r, dateAdded)).ToList(), Artwork = new List(), Guids = GuidsFromProviderIds(item.ProviderIds), Directors = Optional(item.People).Flatten().Collect(r => ProjectToDirector(r)).ToList(),