diff --git a/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs b/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs index c64b8074b8..401b3bb841 100644 --- a/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs +++ b/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs @@ -42,7 +42,7 @@ namespace Jellyfin.Server.Infrastructure /// /// Initializes a new instance of the class. /// - /// + /// An instance of the interface. public SymlinkFollowingPhysicalFileResultExecutor(ILoggerFactory loggerFactory) : base(loggerFactory) { } @@ -95,13 +95,15 @@ namespace Jellyfin.Server.Infrastructure if (range != null) { - return SendFileAsync(result.FileName, + return SendFileAsync( + result.FileName, response, offset: range.From ?? 0L, count: rangeLength); } - return SendFileAsync(result.FileName, + return SendFileAsync( + result.FileName, response, offset: 0, count: null);