This commit is contained in:
BaronGreenback 2021-01-18 12:17:18 +00:00
parent 828a9b7c75
commit e81b7c8f4f
2 changed files with 1 additions and 3 deletions

View File

@ -96,6 +96,7 @@ namespace Emby.Dlna.Didl
using (StringWriter builder = new StringWriterWithEncoding(Encoding.UTF8))
{
// If this using are changed to single lines, then write.Flush needs to be appended before the return.
using (var writer = XmlWriter.Create(builder, settings))
{
// writer.WriteStartDocument();
@ -113,8 +114,6 @@ namespace Emby.Dlna.Didl
writer.WriteFullEndElement();
// writer.WriteEndDocument();
writer.Flush();
}
return builder.ToString();

View File

@ -4,7 +4,6 @@ using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security;
using System.Xml.Linq;
using Emby.Dlna.Common;
using Emby.Dlna.Ssdp;