aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-04-20 21:02:16 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-04-20 21:02:16 -0400
commit19d21a246d9304f824674df3138b30a5b8e51e8c (patch)
tree3078ba8b630c544915a4a2c1e0b928e193c19056 /MediaBrowser.Server.Implementations/ServerApplicationPaths.cs
parent04030ffb65add7e280d3c9a8382bac706ebc56f4 (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.cs28
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;
+ }
+ }
}
}