From 38d0b004baf4ff80d178a30d720e81e66b532b75 Mon Sep 17 00:00:00 2001 From: gnattu Date: Tue, 24 Sep 2024 22:12:04 +0800 Subject: [PATCH] Only move trickplay file should not be saved with media to metadata dir (#12704) --- Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs index 73e31279f4..f6c48498ca 100644 --- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs +++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs @@ -105,7 +105,7 @@ public class TrickplayManager : ITrickplayManager _logger.LogInformation("Moved trickplay images for {ItemName} to {Location}", video.Name, mediaOutputDir); } } - else if (Directory.Exists(mediaOutputDir)) + else if (!shouldBeSavedWithMedia && Directory.Exists(mediaOutputDir)) { var mediaDirFiles = Directory.GetFiles(mediaOutputDir); var localDirExists = Directory.Exists(localOutputDir);