|
|
|
@ -242,7 +242,7 @@ namespace MediaBrowser.Dlna.Main
|
|
|
|
|
|
|
|
|
|
var addressString = address.ToString();
|
|
|
|
|
|
|
|
|
|
var udn = (addressString).GetMD5().ToString("N");
|
|
|
|
|
var udn = CreateUuid(addressString);
|
|
|
|
|
|
|
|
|
|
var fullService = "urn:schemas-upnp-org:device:MediaServer:1";
|
|
|
|
|
|
|
|
|
@ -289,6 +289,11 @@ namespace MediaBrowser.Dlna.Main
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string CreateUuid(string text)
|
|
|
|
|
{
|
|
|
|
|
return text.GetMD5().ToString("N");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SetProperies(SsdpDevice device, string fullDeviceType)
|
|
|
|
|
{
|
|
|
|
|
var service = fullDeviceType.Replace("urn:", string.Empty).Replace(":1", string.Empty);
|
|
|
|
|