From b22c8882d62405c5f7af0edbbfd6379e7d37bc7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teemu=20P=C3=B6yt=C3=A4niemi?= Date: Sun, 1 Mar 2026 16:28:55 +0200 Subject: [PATCH 1/2] Remove unnecessary ToList calls --- Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs index 4505a377ce..56757c921e 100644 --- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs +++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs @@ -198,13 +198,13 @@ public class TrickplayManager : ITrickplayManager // Cleanup old trickplay files if (Directory.Exists(trickplayDirectory)) { - var existingFolders = Directory.GetDirectories(trickplayDirectory).ToList(); + var existingFolders = Directory.GetDirectories(trickplayDirectory); var trickplayInfos = await dbContext.TrickplayInfos .AsNoTracking() .Where(i => i.ItemId.Equals(video.Id)) .ToListAsync(cancellationToken) .ConfigureAwait(false); - var expectedFolders = trickplayInfos.Select(i => GetTrickplayDirectory(video, i.TileWidth, i.TileHeight, i.Width, saveWithMedia)).ToList(); + var expectedFolders = trickplayInfos.Select(i => GetTrickplayDirectory(video, i.TileWidth, i.TileHeight, i.Width, saveWithMedia)); var foldersToRemove = existingFolders.Except(expectedFolders); foreach (var folder in foldersToRemove) { From 8271568677f886c865152d9818c7f2b012e943a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teemu=20P=C3=B6yt=C3=A4niemi?= Date: Sun, 1 Mar 2026 16:35:24 +0200 Subject: [PATCH 2/2] Add poytiis to CONTRIBUTORS.md --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index cb7d3fbbc4..51b9c1ac7a 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -107,6 +107,7 @@ - [Phlogi](https://github.com/Phlogi) - [pjeanjean](https://github.com/pjeanjean) - [ploughpuff](https://github.com/ploughpuff) + - [poytiis](https://github.com/poytiis) - [pR0Ps](https://github.com/pR0Ps) - [PrplHaz4](https://github.com/PrplHaz4) - [RazeLighter777](https://github.com/RazeLighter777)