diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-08 00:08:27 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-08 00:08:27 -0500 |
| commit | 9911df11e8a96d5d7fffcd8618b63a6adb27701f (patch) | |
| tree | b7e446296c6b0f61804430cd59beda68aa549065 /MediaBrowser.Server.Implementations/ServerApplicationPaths.cs | |
| parent | 211d24e66e717f6294840b4f91806a24c1fb2e78 (diff) | |
extracted provider manager. took more off the kernel
Diffstat (limited to 'MediaBrowser.Server.Implementations/ServerApplicationPaths.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/ServerApplicationPaths.cs | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs index ff29badff..429c893ca 100644 --- a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs +++ b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs @@ -302,7 +302,7 @@ namespace MediaBrowser.Server.Implementations /// Gets the FF MPEG stream cache path. /// </summary> /// <value>The FF MPEG stream cache path.</value> - public string FFMpegStreamCachePath + public string EncodedMediaCachePath { get { @@ -345,5 +345,31 @@ namespace MediaBrowser.Server.Implementations return _mediaToolsPath; } } + + /// <summary> + /// The _images data path + /// </summary> + private string _downloadedImagesDataPath; + /// <summary> + /// Gets the images data path. + /// </summary> + /// <value>The images data path.</value> + public string DownloadedImagesDataPath + { + get + { + if (_downloadedImagesDataPath == null) + { + _downloadedImagesDataPath = Path.Combine(DataPath, "remote-images"); + + if (!Directory.Exists(_downloadedImagesDataPath)) + { + Directory.CreateDirectory(_downloadedImagesDataPath); + } + } + + return _downloadedImagesDataPath; + } + } } } |
