update LibraryMonitor
This commit is contained in:
parent
00cbadea2c
commit
f8dd02bb66
|
@ -4,7 +4,6 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Emby.Server.Implementations.IO;
|
||||
using MediaBrowser.Controller.Configuration;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Library;
|
||||
|
@ -14,8 +13,9 @@ using MediaBrowser.Model.Logging;
|
|||
using MediaBrowser.Model.System;
|
||||
using MediaBrowser.Model.Tasks;
|
||||
using MediaBrowser.Model.Threading;
|
||||
using Emby.Server.Implementations.IO;
|
||||
|
||||
namespace MediaBrowser.Server.Startup.Common.IO
|
||||
namespace Emby.Server.Core.IO
|
||||
{
|
||||
public class LibraryMonitor : ILibraryMonitor
|
||||
{
|
||||
|
@ -293,7 +293,7 @@ namespace MediaBrowser.Server.Startup.Common.IO
|
|||
IncludeSubdirectories = true
|
||||
};
|
||||
|
||||
if (Environment.OSVersion.Platform == PlatformID.Win32NT)
|
||||
if (_environmentInfo.OperatingSystem == MediaBrowser.Model.System.OperatingSystem.Windows)
|
||||
{
|
||||
newWatcher.InternalBufferSize = 32767;
|
||||
}
|
|
@ -40,6 +40,7 @@
|
|||
"NETStandard.Library": "1.6.0",
|
||||
"System.AppDomain": "2.0.11",
|
||||
"System.Globalization.Extensions": "4.0.1",
|
||||
"System.IO.FileSystem.Watcher": "4.0.0",
|
||||
"MediaBrowser.Model": {
|
||||
"target": "project"
|
||||
},
|
||||
|
|
|
@ -92,6 +92,7 @@ using Emby.Server.Core.Configuration;
|
|||
using Emby.Server.Core.Data;
|
||||
using Emby.Server.Core.Devices;
|
||||
using Emby.Server.Core.FFMpeg;
|
||||
using Emby.Server.Core.IO;
|
||||
using Emby.Server.Core.Localization;
|
||||
using Emby.Server.Core.Migrations;
|
||||
using Emby.Server.Core.Notifications;
|
||||
|
|
|
@ -115,7 +115,6 @@
|
|||
<Compile Include="Cryptography\X520Attributes.cs" />
|
||||
<Compile Include="HttpServerFactory.cs" />
|
||||
<Compile Include="INativeApp.cs" />
|
||||
<Compile Include="IO\LibraryMonitor.cs" />
|
||||
<Compile Include="IO\MemoryStreamProvider.cs" />
|
||||
<Compile Include="LiveTv\TunerHosts\SatIp\ChannelScan.cs" />
|
||||
<Compile Include="LiveTv\TunerHosts\SatIp\Rtcp\ReportBlock.cs" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user