aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/AppBase
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2024-07-15 14:44:14 +0200
committerGitHub <noreply@github.com>2024-07-15 08:44:14 -0400
commitc666f9d0501bbe0235315d2c2e668ec6f86eb345 (patch)
treee8758e72158eac1bda66aecc4851ac1d4f01a249 /Emby.Server.Implementations/AppBase
parent5e840c1db62d2ec86b2fdaee02d6b0521368bbfc (diff)
Use real temp dir instead of cache dir for temp files (#12226)
Diffstat (limited to 'Emby.Server.Implementations/AppBase')
-rw-r--r--Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs b/Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs
index 39524be1d..dc845b2d7 100644
--- a/Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs
+++ b/Emby.Server.Implementations/AppBase/BaseApplicationPaths.cs
@@ -104,6 +104,6 @@ namespace Emby.Server.Implementations.AppBase
/// Gets the folder path to the temp directory within the cache folder.
/// </summary>
/// <value>The temp directory.</value>
- public string TempDirectory => Path.Combine(CachePath, "temp");
+ public string TempDirectory => Path.Join(Path.GetTempPath(), "jellyfin");
}
}