The Free Software Media System - Server Backend & API
Identification bugfix
7illusions75b5c744871b
diff --git a/MediaBrowser.Dlna/DlnaManager.cs b/MediaBrowser.Dlna/DlnaManager.csindex 32d6c61baf..cc3ba6d432 100644--- a/MediaBrowser.Dlna/DlnaManager.cs+++ b/MediaBrowser.Dlna/DlnaManager.cs@@ -127,6 +127,12 @@ namespace MediaBrowser.Dlnaprivate bool IsMatch(DeviceIdentification deviceInfo, DeviceIdentification profileInfo){+ if (profileInfo == null)+ {+ //There are profiles without identification, ignore thoose+ return false;+ }+if (!string.IsNullOrWhiteSpace(profileInfo.DeviceDescription)){if (deviceInfo.DeviceDescription == null || !Regex.IsMatch(deviceInfo.DeviceDescription, profileInfo.DeviceDescription))