From fc1b0edd9d899c58c5b9c6a313b79c3b7b9ad513 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 3 Mar 2016 01:54:20 -0500 Subject: [PATCH] update Ssdp/SsdpHandler.cs --- MediaBrowser.Dlna/Ssdp/SsdpHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs index e48471e34..6205c5f70 100644 --- a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs +++ b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs @@ -136,7 +136,7 @@ namespace MediaBrowser.Dlna.Ssdp if (args.Headers.TryGetValue("USN", out usn)) { // USN=uuid:b67df29b5c379445fde78c3774ab518d::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1 - if (RegisteredDevices.Select(i => i.USN).Contains(usn, StringComparer.OrdinalIgnoreCase)) + if (RegisteredDevices.Any(i => string.Equals(i.USN, usn, StringComparison.OrdinalIgnoreCase))) { //var headerTexts = args.Headers.Select(i => string.Format("{0}={1}", i.Key, i.Value)); //var headerText = string.Join(",", headerTexts.ToArray());