The Free Software Media System - Server Backend & API
deprecate options
Luke Pulverentic81388689e03
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.csindex 7208ccb1d9..3aea370c8c 100644--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs@@ -180,9 +180,6 @@ namespace MediaBrowser.Model.Configuration/// <value>The dashboard source path.</value>public string DashboardSourcePath { get; set; }- public bool MergeMetadataAndImagesByName { get; set; }- public bool EnableStandaloneMetadata { get; set; }-/// <summary>/// Gets or sets the image saving convention./// </summary>diff --git a/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs b/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.csindex a7d3854e71..6b668da47b 100644--- a/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs+++ b/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs@@ -35,7 +35,6 @@ namespace MediaBrowser.Server.Implementations.Configurationpublic ServerConfigurationManager(IApplicationPaths applicationPaths, ILogManager logManager, IXmlSerializer xmlSerializer, IFileSystem fileSystem): base(applicationPaths, logManager, xmlSerializer, fileSystem){- UpdateItemsByNamePath();UpdateMetadataPath();}@@ -73,7 +72,6 @@ namespace MediaBrowser.Server.Implementations.Configuration/// </summary>protected override void OnConfigurationUpdated(){- UpdateItemsByNamePath();UpdateMetadataPath();base.OnConfigurationUpdated();@@ -86,19 +84,6 @@ namespace MediaBrowser.Server.Implementations.ConfigurationUpdateTranscodingTempPath();}- /// <summary>- /// Updates the items by name path.- /// </summary>- private void UpdateItemsByNamePath()- {- if (!Configuration.MergeMetadataAndImagesByName)- {- ((ServerApplicationPaths)ApplicationPaths).ItemsByNamePath = string.IsNullOrEmpty(Configuration.ItemsByNamePath) ?- null :- Configuration.ItemsByNamePath;- }- }-/// <summary>/// Updates the metadata path./// </summary>@@ -121,20 +106,12 @@ namespace MediaBrowser.Server.Implementations.Configuration((ServerApplicationPaths)ApplicationPaths).InternalMetadataPath = metadataPath;- if (Configuration.MergeMetadataAndImagesByName)- {- ((ServerApplicationPaths)ApplicationPaths).ItemsByNamePath = ((ServerApplicationPaths)ApplicationPaths).InternalMetadataPath;- }+ ((ServerApplicationPaths)ApplicationPaths).ItemsByNamePath = ((ServerApplicationPaths)ApplicationPaths).InternalMetadataPath;}private string GetInternalMetadataPath(){- if (Configuration.EnableStandaloneMetadata)- {- return Path.Combine(ApplicationPaths.ProgramDataPath, "metadata");- }-- return null;+ return Path.Combine(ApplicationPaths.ProgramDataPath, "metadata");}/// <summary>