Add CACHEDIR.tag support

This commit is contained in:
Shadowghost
2026-03-26 13:14:42 +01:00
parent 9c09e7113e
commit 1219c5ec3b
2 changed files with 22 additions and 0 deletions

View File

@@ -228,6 +228,7 @@ namespace Emby.Server.Implementations.AppBase
Logger.LogInformation("Setting cache path: {Path}", cachePath);
((BaseApplicationPaths)CommonApplicationPaths).CachePath = cachePath;
CommonApplicationPaths.CreateAndCheckMarker(((BaseApplicationPaths)CommonApplicationPaths).CachePath, "cache");
BaseApplicationPaths.CreateCacheDirTag(cachePath);
}
/// <summary>