mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Remove spaces from default plugin config filename
This commit is contained in:
parent
8269dba187
commit
5a89c00ac8
@ -1,8 +1,8 @@
|
|||||||
using System;
|
using MediaBrowser.Common.Kernel;
|
||||||
using System.IO;
|
|
||||||
using MediaBrowser.Common.Kernel;
|
|
||||||
using MediaBrowser.Common.Serialization;
|
using MediaBrowser.Common.Serialization;
|
||||||
using MediaBrowser.Model.Plugins;
|
using MediaBrowser.Model.Plugins;
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
namespace MediaBrowser.Common.Plugins
|
namespace MediaBrowser.Common.Plugins
|
||||||
{
|
{
|
||||||
@ -110,7 +110,13 @@ namespace MediaBrowser.Common.Plugins
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the name of the configuration file. Subclasses should override
|
/// Gets the name of the configuration file. Subclasses should override
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string ConfigurationFileName { get { return Name + ".xml"; } }
|
public virtual string ConfigurationFileName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return Name.Replace(" ", string.Empty) + ".xml";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the full path to the configuration file
|
/// Gets the full path to the configuration file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user