From 3abf1f7ed2b54a9b15b0b5cc746cb785379f2578 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Sat, 2 Mar 2013 14:08:36 -0500 Subject: [PATCH] Add system path to IApplicationPaths/BaseApplicationPaths --- MediaBrowser.Common.Implementations/BaseApplicationPaths.cs | 5 +++++ MediaBrowser.Common/Kernel/IApplicationPaths.cs | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs b/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs index d94d79c753..37bd622004 100644 --- a/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs +++ b/MediaBrowser.Common.Implementations/BaseApplicationPaths.cs @@ -42,6 +42,11 @@ namespace MediaBrowser.Common.Implementations } } + /// + /// Gets the path to the system folder + /// + public string ProgramSystemPath { get { return Path.Combine(ProgramDataPath, "System"); }} + /// /// The _data directory /// diff --git a/MediaBrowser.Common/Kernel/IApplicationPaths.cs b/MediaBrowser.Common/Kernel/IApplicationPaths.cs index abb7836423..52c3b199d8 100644 --- a/MediaBrowser.Common/Kernel/IApplicationPaths.cs +++ b/MediaBrowser.Common/Kernel/IApplicationPaths.cs @@ -12,6 +12,12 @@ namespace MediaBrowser.Common.Kernel /// The program data path. string ProgramDataPath { get; } + /// + /// Gets the path to the program system folder + /// + /// The program data path. + string ProgramSystemPath { get; } + /// /// Gets the folder path to the data directory ///