The Free Software Media System - Server Backend & API
Remove spaces from default plugin config filename
LukePulverenti Luke Pulverenti luke pulverenti5a89c00ac8df
diff --git a/MediaBrowser.Common/Plugins/BasePlugin.cs b/MediaBrowser.Common/Plugins/BasePlugin.csindex a700326861..5740d04922 100644--- a/MediaBrowser.Common/Plugins/BasePlugin.cs+++ b/MediaBrowser.Common/Plugins/BasePlugin.cs@@ -1,8 +1,8 @@-using System;-using System.IO;-using MediaBrowser.Common.Kernel;+using MediaBrowser.Common.Kernel;using MediaBrowser.Common.Serialization;using MediaBrowser.Model.Plugins;+using System;+using System.IO;namespace MediaBrowser.Common.Plugins{@@ -110,7 +110,13 @@ namespace MediaBrowser.Common.Plugins/// <summary>/// Gets the name of the configuration file. Subclasses should override/// </summary>- public virtual string ConfigurationFileName { get { return Name + ".xml"; } }+ public virtual string ConfigurationFileName+ {+ get+ {+ return Name.Replace(" ", string.Empty) + ".xml";+ }+ }/// <summary>/// Gets the full path to the configuration file