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 /Emby.Server.Implementations/AppBase | |
| parent | 5e840c1db62d2ec86b2fdaee02d6b0521368bbfc (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.cs | 2 |
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"); } } |
