From 5c4b342323bdf637738c3c87efcce625ae748f34 Mon Sep 17 00:00:00 2001 From: crobibero Date: Wed, 29 Jul 2020 14:21:32 -0600 Subject: [PATCH] fix boolean --- Jellyfin.Api/Helpers/ProgressiveFileCopier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Api/Helpers/ProgressiveFileCopier.cs b/Jellyfin.Api/Helpers/ProgressiveFileCopier.cs index 71197d931f..432df97086 100644 --- a/Jellyfin.Api/Helpers/ProgressiveFileCopier.cs +++ b/Jellyfin.Api/Helpers/ProgressiveFileCopier.cs @@ -84,7 +84,7 @@ namespace Jellyfin.Api.Helpers var allowAsyncFileRead = false; // use non-async filestream along with read due to https://github.com/dotnet/corefx/issues/6039 - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { fileOptions |= FileOptions.Asynchronous; allowAsyncFileRead = true;