mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07: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