Skip to content

The Free Software Media System - Server Backend & API

Only move trickplay file should not be saved with media to metadata dir (#12704)

gnattu38d0b004baf4
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);