diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-07-15 14:44:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-15 08:44:14 -0400 |
| commit | c666f9d0501bbe0235315d2c2e668ec6f86eb345 (patch) | |
| tree | e8758e72158eac1bda66aecc4851ac1d4f01a249 /Jellyfin.Server.Implementations/Trickplay | |
| parent | 5e840c1db62d2ec86b2fdaee02d6b0521368bbfc (diff) | |
Use real temp dir instead of cache dir for temp files (#12226)
Diffstat (limited to 'Jellyfin.Server.Implementations/Trickplay')
| -rw-r--r-- | Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs index efdfc745f..c14be032e 100644 --- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs +++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs @@ -230,7 +230,7 @@ public class TrickplayManager : ITrickplayManager throw new ArgumentException("Can't create trickplay from 0 images."); } - var workDir = Path.Combine(_appPaths.TempDirectory, Guid.NewGuid().ToString("N")); + var workDir = Path.Combine(_appPaths.TempDirectory, "trickplay_" + Guid.NewGuid().ToString("N")); Directory.CreateDirectory(workDir); var trickplayInfo = new TrickplayInfo |
