aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-07-29 09:39:04 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-07-29 09:39:04 +0200
commit1f4f4acb466153b698284bd31cf27d508fe72cb5 (patch)
tree346faa4edf6c6f92f71d4c10887b5b1d599800ad /Jellyfin.Server.Implementations
parent7a4271c85f98cfb4ebbe00e9786d17577330beac (diff)
Fixup
Diffstat (limited to 'Jellyfin.Server.Implementations')
-rw-r--r--Jellyfin.Server.Implementations/Item/BaseItemMapper.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemMapper.cs b/Jellyfin.Server.Implementations/Item/BaseItemMapper.cs
index fe202b69ff..7f211c9ea7 100644
--- a/Jellyfin.Server.Implementations/Item/BaseItemMapper.cs
+++ b/Jellyfin.Server.Implementations/Item/BaseItemMapper.cs
@@ -139,8 +139,8 @@ public static class BaseItemMapper
if (entity.LinkedChildEntities is not null)
{
video.LinkedAlternateVersions = entity.LinkedChildEntities
- .Where(e => e.ChildType is Database.Implementations.Entities.LinkedChildType.LinkedAlternateVersion
- or Database.Implementations.Entities.LinkedChildType.AutoLinkedAlternateVersion)
+ // LocalAlternateVersion links belong to Video.LocalAlternateVersions, not here
+ .Where(e => e.ChildType == Database.Implementations.Entities.LinkedChildType.LinkedAlternateVersion)
.OrderBy(e => e.SortOrder)
.Select(e => new LinkedChild
{