aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DlnaServerController.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-08-20 21:04:57 +0200
committerBond_009 <bond.009@outlook.com>2020-08-20 21:04:57 +0200
commit170e434f92142a8e4c17d3a5eec0bd9c2d6a0037 (patch)
treee5278ffec73bc8f9bae9b11eecbdeebc89c54c51 /Jellyfin.Api/Controllers/DlnaServerController.cs
parentac58d07e0e2cf5caa641803f25ad4ecfa997ec51 (diff)
Fix all warnings in Emby.Dlna
Diffstat (limited to 'Jellyfin.Api/Controllers/DlnaServerController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DlnaServerController.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/DlnaServerController.cs b/Jellyfin.Api/Controllers/DlnaServerController.cs
index 0100d642b..bbaf39eb1 100644
--- a/Jellyfin.Api/Controllers/DlnaServerController.cs
+++ b/Jellyfin.Api/Controllers/DlnaServerController.cs
@@ -221,9 +221,8 @@ namespace Jellyfin.Api.Controllers
private Task<ControlResponse> ProcessControlRequestInternalAsync(string id, Stream requestStream, IUpnpService service)
{
- return service.ProcessControlRequestAsync(new ControlRequest
+ return service.ProcessControlRequestAsync(new ControlRequest(Request.Headers)
{
- Headers = Request.Headers,
InputXml = requestStream,
TargetServerUuId = id,
RequestedUrl = GetAbsoluteUri()