The Free Software Media System - Server Backend & API
Update DlnaManager.cs
BaronGreenbackb673f5bcde1e
diff --git a/Emby.Dlna/DlnaManager.cs b/Emby.Dlna/DlnaManager.csindex 5b1538ffa7..94d7e21d7a 100644--- a/Emby.Dlna/DlnaManager.cs+++ b/Emby.Dlna/DlnaManager.cs@@ -140,6 +140,14 @@ namespace Emby.Dlnaprivate bool IsMatch(DeviceIdentification deviceInfo, DeviceIdentification profileInfo){+ if (!string.IsNullOrEmpty(profileInfo.FriendlyName))+ {+ if (deviceInfo.FriendlyName == null || !IsRegexMatch(deviceInfo.FriendlyName, profileInfo.FriendlyName))+ {+ return false;+ }+ }+if (!string.IsNullOrEmpty(profileInfo.Manufacturer)){if (deviceInfo.Manufacturer == null || !IsRegexMatch(deviceInfo.Manufacturer, profileInfo.Manufacturer))