The Free Software Media System - Server Backend & API
Update DescriptionXmlBuilder.cs
BaronGreenbackc2e2e5ac0ce2
diff --git a/Emby.Dlna/Server/DescriptionXmlBuilder.cs b/Emby.Dlna/Server/DescriptionXmlBuilder.csindex 44b5e070fb..14f47e0417 100644--- a/Emby.Dlna/Server/DescriptionXmlBuilder.cs+++ b/Emby.Dlna/Server/DescriptionXmlBuilder.cs@@ -256,6 +256,12 @@ namespace Emby.Dlna.Serverbuilder.Append("</serviceList>");}+ /// <summary>+ /// Builds a valid url for inclusion in the xml.+ /// </summary>+ /// <param name="url">Url to include.</param>+ /// <param name="absoluteUrl">Optional. When set to true, the absolute url is always used.</param>+ /// <returns>The url to use for the element.</returns>private string BuildUrl(string url, bool absoluteUrl = false){if (string.IsNullOrEmpty(url))