Merge pull request #7487 from InvoxiPlayGames/dlna-fix

This commit is contained in:
Cody Robibero 2022-03-22 19:10:08 -06:00 committed by GitHub
commit 7fb21132dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -456,7 +456,7 @@ namespace Emby.Dlna
/// <inheritdoc />
public string GetServerDescriptionXml(IHeaderDictionary headers, string serverUuId, string serverAddress)
{
var profile = GetDefaultProfile();
var profile = GetProfile(headers) ?? GetDefaultProfile();
var serverId = _appHost.SystemId;

View File

@ -362,7 +362,7 @@ namespace Emby.Dlna.Main
guid = text.GetMD5();
}
return guid.ToString("N", CultureInfo.InvariantCulture);
return guid.ToString("D", CultureInfo.InvariantCulture);
}
private void SetProperies(SsdpDevice device, string fullDeviceType)