mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-26 20:16:33 +00:00
updated ImageMagickSharp
This commit is contained in:
@@ -164,9 +164,22 @@ namespace MediaBrowser.Common.Implementations.Configuration
|
||||
/// </summary>
|
||||
private void UpdateCachePath()
|
||||
{
|
||||
((BaseApplicationPaths)CommonApplicationPaths).CachePath = string.IsNullOrEmpty(CommonConfiguration.CachePath) ?
|
||||
null :
|
||||
CommonConfiguration.CachePath;
|
||||
string cachePath;
|
||||
|
||||
if (string.IsNullOrWhiteSpace(CommonConfiguration.CachePath))
|
||||
{
|
||||
cachePath = null;
|
||||
}
|
||||
else if (CommonConfiguration.EnableCustomPathSubFolders)
|
||||
{
|
||||
cachePath = Path.Combine(CommonConfiguration.CachePath, "cache");
|
||||
}
|
||||
else
|
||||
{
|
||||
cachePath = CommonConfiguration.CachePath;
|
||||
}
|
||||
|
||||
((BaseApplicationPaths)CommonApplicationPaths).CachePath = cachePath;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user