diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-06-01 21:59:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-01 21:59:06 +0200 |
| commit | 53eda14dccddbcbd8806150489ff8f4495814631 (patch) | |
| tree | f2db2d10496c90a554a41a5366d191a75b7629d4 /Jellyfin.Api/Controllers/UserLibraryController.cs | |
| parent | 0d30a595642c647828c5e62bd64c067d5c33c02f (diff) | |
| parent | 5feb70f489670808be682e1f2f80c4780651c57b (diff) | |
Fix recently added episode links and posters
Diffstat (limited to 'Jellyfin.Api/Controllers/UserLibraryController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/UserLibraryController.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/UserLibraryController.cs b/Jellyfin.Api/Controllers/UserLibraryController.cs index 779186942a..9e3933f2d4 100644 --- a/Jellyfin.Api/Controllers/UserLibraryController.cs +++ b/Jellyfin.Api/Controllers/UserLibraryController.cs @@ -557,6 +557,8 @@ public class UserLibraryController : BaseJellyfinApiController var dtoOptions = new DtoOptions { Fields = fields } .AddAdditionalDtoOptions(enableImages, enableUserData, imageTypeLimit, enableImageTypes); + dtoOptions.PreferEpisodeParentPoster = true; + var list = _userViewManager.GetLatestItems( new LatestItemsQuery { @@ -577,7 +579,7 @@ public class UserLibraryController : BaseJellyfinApiController var item = tuple.Item2[0]; var childCount = 0; - if (tuple.Item1 is not null && (tuple.Item2.Count > 1 || tuple.Item1 is MusicAlbum || tuple.Item1 is Series)) + if (tuple.Item1 is not null && (tuple.Item2.Count > 1 || tuple.Item1 is MusicAlbum)) { item = tuple.Item1; childCount = tuple.Item2.Count; |
