The Free Software Media System - Server Backend & API
Add system path to IApplicationPaths/BaseApplicationPaths
Eric Reed3abf1f7ed2b5
diff --git a/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs b/MediaBrowser.Common.Implementations/BaseApplicationPaths.csindex d94d79c753..37bd622004 100644--- a/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs+++ b/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs@@ -42,6 +42,11 @@ namespace MediaBrowser.Common.Implementations}}+ /// <summary>+ /// Gets the path to the system folder+ /// </summary>+ public string ProgramSystemPath { get { return Path.Combine(ProgramDataPath, "System"); }}+/// <summary>/// The _data directory/// </summary>diff --git a/MediaBrowser.Common/Kernel/IApplicationPaths.cs b/MediaBrowser.Common/Kernel/IApplicationPaths.csindex abb7836423..52c3b199d8 100644--- a/MediaBrowser.Common/Kernel/IApplicationPaths.cs+++ b/MediaBrowser.Common/Kernel/IApplicationPaths.cs@@ -12,6 +12,12 @@ namespace MediaBrowser.Common.Kernel/// <value>The program data path.</value>string ProgramDataPath { get; }+ /// <summary>+ /// Gets the path to the program system folder+ /// </summary>+ /// <value>The program data path.</value>+ string ProgramSystemPath { get; }+/// <summary>/// Gets the folder path to the data directory/// </summary>