diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-02 10:30:38 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-02 10:30:38 -0400 |
| commit | 73b76a4f189eb4f5fe6677d322cfa5a2ff6bf3e5 (patch) | |
| tree | 59449354ed292f3fb2445ddd8a27662f72c178cc /MediaBrowser.Server.Implementations/ServerApplicationPaths.cs | |
| parent | b11d06f36f31317f072e6cd1a27bd7d06b5f0c17 (diff) | |
added image by name api methods
Diffstat (limited to 'MediaBrowser.Server.Implementations/ServerApplicationPaths.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/ServerApplicationPaths.cs | 26 |
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; |
