aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers
diff options
context:
space:
mode:
authorAnthony Lavado <anthony@lavado.ca>2020-08-20 17:34:40 -0400
committerGitHub <noreply@github.com>2020-08-20 17:34:40 -0400
commitcd49beb7add2ca2458b6a215bfcc258de1a68b91 (patch)
treee5278ffec73bc8f9bae9b11eecbdeebc89c54c51 /Jellyfin.Api/Controllers
parentac58d07e0e2cf5caa641803f25ad4ecfa997ec51 (diff)
parent170e434f92142a8e4c17d3a5eec0bd9c2d6a0037 (diff)
Merge pull request #3947 from Bond-009/warn25
Fix all warnings in Emby.Dlna
Diffstat (limited to 'Jellyfin.Api/Controllers')
-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()