mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Fix DI in FileWriter.TransmitFile
This commit is contained in:
parent
df92df7bd6
commit
9a4a01fb0e
4 changed files with 18 additions and 22 deletions
|
|
@ -78,8 +78,6 @@ namespace Emby.Server.Implementations.SocketSharp
|
|||
const int StreamCopyToBufferSize = 81920;
|
||||
public async Task TransmitFile(string path, long offset, long count, FileShareMode fileShareMode, IFileSystem fileSystem, IStreamHelper streamHelper, CancellationToken cancellationToken)
|
||||
{
|
||||
// TODO
|
||||
// return _response.TransmitFile(path, offset, count, fileShareMode, cancellationToken);
|
||||
var allowAsync = !RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
|
||||
|
||||
//if (count <= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue