The Free Software Media System - Server Backend & API
Merge branch 'master' into simplified_dlnamanager
BaronGreenbacka2687fac5e4c
diff --cc Emby.Dlna/DlnaManager.csindex f542f151a4,f7a07ac694..58ea8848cb--- a/Emby.Dlna/DlnaManager.cs+++ b/Emby.Dlna/DlnaManager.cs@@@ -140,9 -141,17 +140,9 @@@ namespace Emby.Dlnprivate bool IsMatch(DeviceIdentification deviceInfo, DeviceIdentification profileInfo){- if (!string.IsNullOrEmpty(profileInfo.DeviceDescription))- {- if (deviceInfo.DeviceDescription == null || !IsRegexOrSubstringMatch(deviceInfo.DeviceDescription, profileInfo.DeviceDescription))- {- return false;- }- }-if (!string.IsNullOrEmpty(profileInfo.FriendlyName)){- if (deviceInfo.FriendlyName == null || !IsRegexMatch(deviceInfo.FriendlyName, profileInfo.FriendlyName))+ if (deviceInfo.FriendlyName == null || !IsRegexOrSubstringMatch(deviceInfo.FriendlyName, profileInfo.FriendlyName)){return false;}