mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
Merge pull request #10022 from cvium/fix_dlna_sendrequest
This commit is contained in:
commit
bdaf0b4afe
@ -57,6 +57,7 @@ namespace Emby.Dlna.PlayTo
|
|||||||
response.EnsureSuccessStatusCode();
|
response.EnsureSuccessStatusCode();
|
||||||
await using MemoryStream ms = new MemoryStream();
|
await using MemoryStream ms = new MemoryStream();
|
||||||
await response.Content.CopyToAsync(ms, cancellationToken).ConfigureAwait(false);
|
await response.Content.CopyToAsync(ms, cancellationToken).ConfigureAwait(false);
|
||||||
|
ms.Position = 0;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return await XDocument.LoadAsync(
|
return await XDocument.LoadAsync(
|
||||||
|
Loading…
Reference in New Issue
Block a user