Explorar o código

Disable real time monitoring by default

Bond_009 %!s(int64=2) %!d(string=hai) anos
pai
achega
891e2495c9

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

@@ -2054,7 +2054,9 @@ namespace Emby.Server.Implementations.Library
                     .Find(folder => folder is CollectionFolder) as CollectionFolder;
             }
 
-            return collectionFolder is null ? new LibraryOptions() : collectionFolder.GetLibraryOptions();
+            return collectionFolder is null
+                ? new LibraryOptions()
+                : collectionFolder.GetLibraryOptions();
         }
 
         public string GetContentType(BaseItem item)

+ 0 - 1
MediaBrowser.Model/Configuration/LibraryOptions.cs

@@ -20,7 +20,6 @@ namespace MediaBrowser.Model.Configuration
             AutomaticallyAddToCollection = false;
             EnablePhotos = true;
             SaveSubtitlesWithMedia = true;
-            EnableRealtimeMonitor = true;
             PathInfos = Array.Empty<MediaPathInfo>();
             EnableAutomaticSeriesGrouping = true;
             SeasonZeroDisplayName = "Specials";