|
|
@ -272,12 +272,7 @@ namespace MediaBrowser.Common.Plugins
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public virtual void SaveConfiguration()
|
|
|
|
public virtual void SaveConfiguration()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
lock (_configurationSaveLock)
|
|
|
|
SaveConfiguration(Configuration);
|
|
|
|
{
|
|
|
|
|
|
|
|
_directoryCreateFn(Path.GetDirectoryName(ConfigurationFilePath));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
XmlSerializer.SerializeToFile(Configuration, ConfigurationFilePath);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
/// <inheritdoc />
|
|
|
|