aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Trickplay
diff options
context:
space:
mode:
authorgnattu <gnattu@users.noreply.github.com>2024-09-24 22:12:04 +0800
committerGitHub <noreply@github.com>2024-09-24 08:12:04 -0600
commit38d0b004baf4ff80d178a30d720e81e66b532b75 (patch)
treea0b593cf987070a0c5bcfa3c3d405e20a67588df /Jellyfin.Server.Implementations/Trickplay
parent30be00adb2f29a94b5175f52c16585e9b9d85527 (diff)
Only move trickplay file should not be saved with media to metadata dir (#12704)
Diffstat (limited to 'Jellyfin.Server.Implementations/Trickplay')
-rw-r--r--Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
index 73e31279f..f6c48498c 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);