aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Service/BaseControlHandler.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-08-13 00:33:18 +0200
committerGitHub <noreply@github.com>2021-08-13 00:33:18 +0200
commite5a29824e5126bead4194fff3e9f7d95133c9fb7 (patch)
tree679f8fe5926fef2f518567df049703a4092b4acc /Emby.Dlna/Service/BaseControlHandler.cs
parent1f99c9b90c5b791bb41ff711ad20b390f4f2268f (diff)
parentf83a5bb08eeb503b1ff40507b966af1b266fbaa7 (diff)
Merge branch 'master' into minor15
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);