mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
fix: set memorystream position after copying
This commit is contained in:
@@ -57,6 +57,7 @@ namespace Emby.Dlna.PlayTo
|
||||
response.EnsureSuccessStatusCode();
|
||||
await using MemoryStream ms = new MemoryStream();
|
||||
await response.Content.CopyToAsync(ms, cancellationToken).ConfigureAwait(false);
|
||||
ms.Position = 0;
|
||||
try
|
||||
{
|
||||
return await XDocument.LoadAsync(
|
||||
|
||||
Reference in New Issue
Block a user