Jelajahi Sumber

update librarymanager

Luke Pulverenti 7 tahun lalu
induk
melakukan
d765f370b3

+ 0 - 6
Emby.Server.Implementations/Configuration/ServerConfigurationManager.cs

@@ -237,12 +237,6 @@ namespace Emby.Server.Implementations.Configuration
                 changed = true;
                 changed = true;
             }
             }
 
 
-            if (!config.EnableLocalizedGuids)
-            {
-                config.EnableLocalizedGuids = true;
-                changed = true;
-            }
-
             return changed;
             return changed;
         }
         }
     }
     }

+ 1 - 1
Emby.Server.Implementations/Library/LibraryManager.cs

@@ -506,7 +506,7 @@ namespace Emby.Server.Implementations.Library
                 throw new ArgumentNullException("type");
                 throw 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 portable
                 // Try to normalize paths located underneath program-data in an attempt to make them more portable
                 key = key.Substring(ConfigurationManager.ApplicationPaths.ProgramDataPath.Length)
                 key = key.Substring(ConfigurationManager.ApplicationPaths.ProgramDataPath.Length)

+ 0 - 3
MediaBrowser.Model/Configuration/ServerConfiguration.cs

@@ -189,8 +189,6 @@ namespace MediaBrowser.Model.Configuration
         public PathSubstitution[] PathSubstitutions { get; set; }
         public PathSubstitution[] PathSubstitutions { get; set; }
         public bool EnableSimpleArtistDetection { get; set; }
         public bool EnableSimpleArtistDetection { get; set; }
 
 
-        public bool EnableLocalizedGuids { get; set; }
-
         /// <summary>
         /// <summary>
         /// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
         /// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
         /// </summary>
         /// </summary>
@@ -202,7 +200,6 @@ namespace MediaBrowser.Model.Configuration
             PathSubstitutions = new PathSubstitution[] { };
             PathSubstitutions = new PathSubstitution[] { };
             EnableSimpleArtistDetection = true;
             EnableSimpleArtistDetection = true;
 
 
-            EnableLocalizedGuids = true;
             DisplaySpecialsWithinSeasons = true;
             DisplaySpecialsWithinSeasons = true;
             EnableExternalContentInSuggestions = true;
             EnableExternalContentInSuggestions = true;