diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-09-11 12:07:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-11 12:07:07 -0400 |
| commit | 00d974ce3840028fda127ab62ad49363dbe2da7d (patch) | |
| tree | f80b9b42276707d89c5667525c286b30aeeb5976 /MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs | |
| parent | 86a8756509a8cd346cd2881f3896c96c7f651046 (diff) | |
| parent | d87cfdb2606ba933d959b6abe95acccf864acf3d (diff) | |
Merge pull request #2159 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs index c87d10ef4..80364bb55 100644 --- a/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs +++ b/MediaBrowser.Server.Implementations/IO/LibraryMonitor.cs @@ -164,32 +164,16 @@ namespace MediaBrowser.Server.Implementations.IO Start(); } - private bool EnableLibraryMonitor - { - get - { - switch (ConfigurationManager.Configuration.EnableLibraryMonitor) - { - case AutoOnOff.Auto: - return Environment.OSVersion.Platform == PlatformID.Win32NT; - case AutoOnOff.Enabled: - return true; - default: - return false; - } - } - } - private bool IsLibraryMonitorEnabaled(BaseItem item) { var options = LibraryManager.GetLibraryOptions(item); - if (options != null && options.SchemaVersion >= 1) + if (options != null) { return options.EnableRealtimeMonitor; } - return EnableLibraryMonitor; + return false; } public void Start() |
