diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-04-26 17:55:19 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-04-26 18:53:06 +0200 |
| commit | fc866a64e063c9f04df3fab9a00846501c8d2b13 (patch) | |
| tree | 2d3b040ad903dc0c4205658831c5f66939b1a504 /Jellyfin.Server.Implementations/Item/BaseItemMapper.cs | |
| parent | f806ae40187ff5d853fff7cdd72709eab39bc9ac (diff) | |
Remove unnecessary materializations
Diffstat (limited to 'Jellyfin.Server.Implementations/Item/BaseItemMapper.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Item/BaseItemMapper.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemMapper.cs b/Jellyfin.Server.Implementations/Item/BaseItemMapper.cs index 831e7c3354..67a233c41d 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemMapper.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemMapper.cs @@ -168,9 +168,6 @@ internal static class BaseItemMapper dto.ImageInfos = entity.Images.Select(e => MapImageFromEntity(e, appHost)).ToArray(); } - // dto.Type = entity.Type; - // dto.Data = entity.Data; - // dto.MediaType = Enum.TryParse<MediaType>(entity.MediaType); if (dto is IHasStartDate hasStartDate) { hasStartDate.StartDate = entity.StartDate.GetValueOrDefault(); @@ -354,8 +351,6 @@ internal static class BaseItemMapper }).ToArray() ?? []; } - // dto.Type = entity.Type; - // dto.Data = entity.Data; entity.MediaType = dto.MediaType.ToString(); if (dto is IHasStartDate hasStartDate) { |
