diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-20 21:02:16 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-20 21:02:16 -0400 |
| commit | 19d21a246d9304f824674df3138b30a5b8e51e8c (patch) | |
| tree | 3078ba8b630c544915a4a2c1e0b928e193c19056 /MediaBrowser.Server.Implementations/ServerApplicationPaths.cs | |
| parent | 04030ffb65add7e280d3c9a8382bac706ebc56f4 (diff) | |
made Audio.Artist plural and removed duplicated of artists into the people collection
Diffstat (limited to 'MediaBrowser.Server.Implementations/ServerApplicationPaths.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/ServerApplicationPaths.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs index 25d9cf533..a723eb38e 100644 --- a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs +++ b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs @@ -18,6 +18,9 @@ namespace MediaBrowser.Server.Implementations { } #else +/// <summary> +/// Initializes a new instance of the <see cref="ServerApplicationPaths"/> class. +/// </summary> public ServerApplicationPaths() : base(false) { @@ -345,5 +348,30 @@ namespace MediaBrowser.Server.Implementations return _downloadedImagesDataPath; } } + + /// <summary> + /// The _music artists path + /// </summary> + private string _musicArtistsPath; + /// <summary> + /// Gets the artists path. + /// </summary> + /// <value>The artists path.</value> + public string ArtistsPath + { + get + { + if (_musicArtistsPath == null) + { + _musicArtistsPath = Path.Combine(ImagesByNamePath, "Artists"); + if (!Directory.Exists(_musicArtistsPath)) + { + Directory.CreateDirectory(_musicArtistsPath); + } + } + + return _musicArtistsPath; + } + } } } |
