diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2013-05-02 10:41:35 -0400 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2013-05-02 10:41:35 -0400 |
| commit | ea14160b8712b42b92d6a6cd01f807ad989a0b76 (patch) | |
| tree | 66d5efd5c1738d299759af5f0e651d5cdc981827 /MediaBrowser.Server.Implementations/ServerApplicationPaths.cs | |
| parent | 6176225a7a5b22358be8ea88052e40d1d19e51d4 (diff) | |
| parent | 878ba9447613e0ca85434222c75ece90b1c18946 (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
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; |
