update components

This commit is contained in:
Luke Pulverenti 2016-09-17 14:03:42 -04:00
parent 7ed664636f
commit 87fa143f4c

View File

@ -235,6 +235,8 @@ namespace MediaBrowser.Dlna.Main
var addressString = address.ToString(); var addressString = address.ToString();
var udn = (addressString).GetMD5().ToString("N");
var services = new List<string> var services = new List<string>
{ {
"urn:schemas-upnp-org:device:MediaServer:1", "urn:schemas-upnp-org:device:MediaServer:1",
@ -243,8 +245,6 @@ namespace MediaBrowser.Dlna.Main
"urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1" "urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1"
}; };
var udn = (addressString).GetMD5().ToString("N");
foreach (var fullService in services) foreach (var fullService in services)
{ {
_logger.Info("Registering publisher for {0} on {1}", fullService, addressString); _logger.Info("Registering publisher for {0} on {1}", fullService, addressString);