using MediaBrowser.Common.Kernel; using System.IO; namespace MediaBrowser.UI.Configuration { /// /// Class UIApplicationPaths /// public class UIApplicationPaths : BaseApplicationPaths { /// /// The _remote image cache path /// private string _remoteImageCachePath; /// /// Gets the remote image cache path. /// /// The remote image cache path. public string RemoteImageCachePath { get { if (_remoteImageCachePath == null) { _remoteImageCachePath = Path.Combine(CachePath, "remote-images"); if (!Directory.Exists(_remoteImageCachePath)) { Directory.CreateDirectory(_remoteImageCachePath); } } return _remoteImageCachePath; } } } }