crobibero %!s(int64=5) %!d(string=hai) anos
pai
achega
5c4b342323
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jellyfin.Api/Helpers/ProgressiveFileCopier.cs

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