|
|
|
@ -106,8 +106,6 @@ namespace Emby.Dlna
|
|
|
|
|
throw new ArgumentNullException(nameof(deviceInfo));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
var profile = GetProfiles()
|
|
|
|
|
.FirstOrDefault(i => i.Identification != null && IsMatch(deviceInfo, i.Identification));
|
|
|
|
|
|
|
|
|
@ -122,13 +120,6 @@ namespace Emby.Dlna
|
|
|
|
|
|
|
|
|
|
return profile;
|
|
|
|
|
}
|
|
|
|
|
catch (ArgumentException ex)
|
|
|
|
|
{
|
|
|
|
|
_logger.LogError(ex, "Error in profile comparison.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void LogUnmatchedProfile(DeviceIdentification profile)
|
|
|
|
|
{
|
|
|
|
|