فهرست منبع

Disable real time monitoring by default

Bond_009 2 سال پیش
والد
کامیت
891e2495c9
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 1
      Emby.Server.Implementations/Library/LibraryManager.cs
  2. 0 1
      MediaBrowser.Model/Configuration/LibraryOptions.cs

+ 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";