aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Service/BaseControlHandler.cs
diff options
context:
space:
mode:
authorRich Lander <rlander@microsoft.com>2021-07-30 10:44:43 -0700
committerGitHub <noreply@github.com>2021-07-30 10:44:43 -0700
commit47da13613b143794e1f1422e05dac63a40f5f66a (patch)
tree59ec139682ed5a61f7c24ccf9e6df434cffad04a /Emby.Dlna/Service/BaseControlHandler.cs
parent927b003143f7e4772e21b767f2524f969ddf1ad8 (diff)
parent0ee74b293d1f6fa1be63b8b4e5e2498a7f18298f (diff)
Merge branch 'master' into media-provides-analysis-fixes
Diffstat (limited to 'Emby.Dlna/Service/BaseControlHandler.cs')
-rw-r--r--Emby.Dlna/Service/BaseControlHandler.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/Emby.Dlna/Service/BaseControlHandler.cs b/Emby.Dlna/Service/BaseControlHandler.cs
index b3ee860f4..581e4a286 100644
--- a/Emby.Dlna/Service/BaseControlHandler.cs
+++ b/Emby.Dlna/Service/BaseControlHandler.cs
@@ -95,11 +95,7 @@ namespace Emby.Dlna.Service
var xml = builder.ToString().Replace("xmlns:m=", "xmlns:u=", StringComparison.Ordinal);
- var controlResponse = new ControlResponse
- {
- Xml = xml,
- IsSuccessful = true
- };
+ var controlResponse = new ControlResponse(xml, true);
controlResponse.Headers.Add("EXT", string.Empty);