get DLNA profile in XML request, correctly format UUID
This commit is contained in:
parent
c512e783b3
commit
dc8fdb154a
|
@ -456,7 +456,7 @@ namespace Emby.Dlna
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public string GetServerDescriptionXml(IHeaderDictionary headers, string serverUuId, string serverAddress)
|
public string GetServerDescriptionXml(IHeaderDictionary headers, string serverUuId, string serverAddress)
|
||||||
{
|
{
|
||||||
var profile = GetDefaultProfile();
|
var profile = GetProfile(headers) ?? GetDefaultProfile();
|
||||||
|
|
||||||
var serverId = _appHost.SystemId;
|
var serverId = _appHost.SystemId;
|
||||||
|
|
||||||
|
|
|
@ -362,7 +362,7 @@ namespace Emby.Dlna.Main
|
||||||
guid = text.GetMD5();
|
guid = text.GetMD5();
|
||||||
}
|
}
|
||||||
|
|
||||||
return guid.ToString("N", CultureInfo.InvariantCulture);
|
return guid.ToString("D", CultureInfo.InvariantCulture);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetProperies(SsdpDevice device, string fullDeviceType)
|
private void SetProperies(SsdpDevice device, string fullDeviceType)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user