The Free Software Media System - Server Backend & API
Remove AsyncFile.OpenRead
cviume34aa22dc101
diff --git a/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs b/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.csindex 93bd2c1ba5..917384cc38 100644--- a/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs+++ b/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs@@ -55,7 +55,7 @@ namespace Jellyfin.Server.Infrastructure// This may or may not be fixed in .NET 6, but looks like it will not https://github.com/dotnet/aspnetcore/issues/34371if ((fileInfo.Attributes & FileAttributes.ReparsePoint) == FileAttributes.ReparsePoint){- using Stream thisFileStream = AsyncFile.OpenRead(path);+ using Stream thisFileStream = File.OpenRead(path);length = thisFileStream.Length;}