Browse Source

sync jf and emby episode actors (#1280)

pull/1281/head
Jason Dove 2 years ago committed by GitHub
parent
commit
4997699b4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CHANGELOG.md
  2. 2
      ErsatzTV.Infrastructure/Emby/EmbyApiClient.cs
  3. 2
      ErsatzTV.Infrastructure/Jellyfin/JellyfinApiClient.cs

4
CHANGELOG.md

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. @@ -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

2
ErsatzTV.Infrastructure/Emby/EmbyApiClient.cs

@ -744,7 +744,7 @@ public class EmbyApiClient : IEmbyApiClient @@ -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<Studio>(),
Actors = new List<Actor>(),
Actors = Optional(item.People).Flatten().Collect(r => ProjectToActor(r, dateAdded)).ToList(),
Artwork = new List<Artwork>(),
Guids = GuidsFromProviderIds(item.ProviderIds),
Directors = Optional(item.People).Flatten().Collect(r => ProjectToDirector(r)).ToList(),

2
ErsatzTV.Infrastructure/Jellyfin/JellyfinApiClient.cs

@ -831,7 +831,7 @@ public class JellyfinApiClient : IJellyfinApiClient @@ -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<Studio>(),
Actors = new List<Actor>(),
Actors = Optional(item.People).Flatten().Collect(r => ProjectToActor(r, dateAdded)).ToList(),
Artwork = new List<Artwork>(),
Guids = GuidsFromProviderIds(item.ProviderIds),
Directors = Optional(item.People).Flatten().Collect(r => ProjectToDirector(r)).ToList(),

Loading…
Cancel
Save