|
|
@ -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(
|
|
|
|