mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-10 08:13:20 +01:00
Pushing missing changes
This commit is contained in:
@@ -1,8 +1,37 @@
|
||||
using MediaBrowser.Common.Kernel;
|
||||
|
||||
namespace MediaBrowser.UI.Configuration
|
||||
{
|
||||
public class UIApplicationPaths : BaseApplicationPaths
|
||||
{
|
||||
}
|
||||
}
|
||||
using MediaBrowser.Common.Kernel;
|
||||
using System.IO;
|
||||
|
||||
namespace MediaBrowser.UI.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Class UIApplicationPaths
|
||||
/// </summary>
|
||||
public class UIApplicationPaths : BaseApplicationPaths
|
||||
{
|
||||
/// <summary>
|
||||
/// The _remote image cache path
|
||||
/// </summary>
|
||||
private string _remoteImageCachePath;
|
||||
/// <summary>
|
||||
/// Gets the remote image cache path.
|
||||
/// </summary>
|
||||
/// <value>The remote image cache path.</value>
|
||||
public string RemoteImageCachePath
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_remoteImageCachePath == null)
|
||||
{
|
||||
_remoteImageCachePath = Path.Combine(CachePath, "remote-images");
|
||||
|
||||
if (!Directory.Exists(_remoteImageCachePath))
|
||||
{
|
||||
Directory.CreateDirectory(_remoteImageCachePath);
|
||||
}
|
||||
}
|
||||
|
||||
return _remoteImageCachePath;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user