The Free Software Media System - Server Backend & API
- flush the XmlWriter before calling the StringBuilder ToString() method
Marius Lucaa774d1fa1094
diff --git a/Emby.Dlna/ContentDirectory/ControlHandler.cs b/Emby.Dlna/ContentDirectory/ControlHandler.csindex 657850ac02..26a816107a 100644--- a/Emby.Dlna/ContentDirectory/ControlHandler.cs+++ b/Emby.Dlna/ContentDirectory/ControlHandler.cs@@ -395,6 +395,7 @@ namespace Emby.Dlna.ContentDirectory}writer.WriteFullEndElement();+ writer.Flush();xmlWriter.WriteElementString("Result", builder.ToString());}@@ -484,6 +485,7 @@ namespace Emby.Dlna.ContentDirectory}writer.WriteFullEndElement();+ writer.Flush();xmlWriter.WriteElementString("Result", builder.ToString());}