aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Implementations/ServerApplicationPaths.cs')
-rw-r--r--MediaBrowser.Server.Implementations/ServerApplicationPaths.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
index 6d345a99c..c30c1b9db 100644
--- a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
+++ b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
@@ -132,6 +132,7 @@ namespace MediaBrowser.Server.Implementations
_musicArtistsPath = null;
_generalPath = null;
_ratingsPath = null;
+ _mediaInfoImagesPath = null;
}
}
@@ -286,6 +287,31 @@ namespace MediaBrowser.Server.Implementations
}
/// <summary>
+ /// The _media info images path
+ /// </summary>
+ private string _mediaInfoImagesPath;
+ /// <summary>
+ /// Gets the media info images path.
+ /// </summary>
+ /// <value>The media info images path.</value>
+ public string MediaInfoImagesPath
+ {
+ get
+ {
+ if (_mediaInfoImagesPath == null)
+ {
+ _mediaInfoImagesPath = Path.Combine(ItemsByNamePath, "MediaInfo");
+ if (!Directory.Exists(_mediaInfoImagesPath))
+ {
+ Directory.CreateDirectory(_mediaInfoImagesPath);
+ }
+ }
+
+ return _mediaInfoImagesPath;
+ }
+ }
+
+ /// <summary>
/// The _user configuration directory path
/// </summary>
private string _userConfigurationDirectoryPath;