diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-09-16 12:03:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-16 12:03:17 +0100 |
| commit | c2e2e5ac0ce298e550a02eeb2e853497d7f9e647 (patch) | |
| tree | eeb0741aee8009b9a5ab1a5345d0bc9047deb3d2 | |
| parent | 86ad04b6571a9e44744f135caac768e8f1acdcde (diff) | |
Update DescriptionXmlBuilder.cs
| -rw-r--r-- | Emby.Dlna/Server/DescriptionXmlBuilder.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Emby.Dlna/Server/DescriptionXmlBuilder.cs b/Emby.Dlna/Server/DescriptionXmlBuilder.cs index 44b5e070f..14f47e041 100644 --- a/Emby.Dlna/Server/DescriptionXmlBuilder.cs +++ b/Emby.Dlna/Server/DescriptionXmlBuilder.cs @@ -256,6 +256,12 @@ namespace Emby.Dlna.Server builder.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)) |
