Parcourir la source

Merge pull request #9447 from Bond-009/disablerealtimemonitor

Disable real time monitoring by default
Claus Vium il y a 1 an
Parent
commit
bfb7c60f72

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

@@ -2069,7 +2069,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";