The Free Software Media System - Server Backend & API
update librarymanager
Luke Pulverentid765f370b35b
diff --git a/Emby.Server.Implementations/Configuration/ServerConfigurationManager.cs b/Emby.Server.Implementations/Configuration/ServerConfigurationManager.csindex 607e896b86..e73a69892c 100644--- a/Emby.Server.Implementations/Configuration/ServerConfigurationManager.cs+++ b/Emby.Server.Implementations/Configuration/ServerConfigurationManager.cs@@ -237,12 +237,6 @@ namespace Emby.Server.Implementations.Configurationchanged = true;}- if (!config.EnableLocalizedGuids)- {- config.EnableLocalizedGuids = true;- changed = true;- }-return changed;}}diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.csindex cac1cb3b4b..bd8a095503 100644--- a/Emby.Server.Implementations/Library/LibraryManager.cs+++ b/Emby.Server.Implementations/Library/LibraryManager.cs@@ -506,7 +506,7 @@ namespace Emby.Server.Implementations.Librarythrow new ArgumentNullException("type");}- if (ConfigurationManager.Configuration.EnableLocalizedGuids && key.StartsWith(ConfigurationManager.ApplicationPaths.ProgramDataPath))+ if (key.StartsWith(ConfigurationManager.ApplicationPaths.ProgramDataPath)){// Try to normalize paths located underneath program-data in an attempt to make them more portablekey = key.Substring(ConfigurationManager.ApplicationPaths.ProgramDataPath.Length)diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.csindex 9b800bbc93..f2c3b7cc8a 100644--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs@@ -189,8 +189,6 @@ namespace MediaBrowser.Model.Configurationpublic PathSubstitution[] PathSubstitutions { get; set; }public bool EnableSimpleArtistDetection { get; set; }- public bool EnableLocalizedGuids { get; set; }-/// <summary>/// Initializes a new instance of the <see cref="ServerConfiguration" /> class./// </summary>@@ -202,7 +200,6 @@ namespace MediaBrowser.Model.ConfigurationPathSubstitutions = new PathSubstitution[] { };EnableSimpleArtistDetection = true;- EnableLocalizedGuids = true;DisplaySpecialsWithinSeasons = true;EnableExternalContentInSuggestions = true;