diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-11 22:49:54 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-11 22:49:54 -0400 |
| commit | 343c7615a2e09eadc21ddd928e3883032128b339 (patch) | |
| tree | b22d0a4ce55e301611fbabdcf97685b6bb79ea04 | |
| parent | fc7ed4d3fba0f3aff90c7cd5fd6f5eba5651f75c (diff) | |
remove self ignore
| -rw-r--r-- | MediaBrowser.Dlna/Ssdp/SsdpHandler.cs | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs index 19c567a33e..59c455d39c 100644 --- a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs +++ b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs @@ -433,27 +433,9 @@ namespace MediaBrowser.Dlna.Ssdp if (string.Equals(server, _serverSignature, StringComparison.OrdinalIgnoreCase)) { - return true; + //return true; } return false; - //string usn; - //args.Headers.TryGetValue("USN", out usn); - - //if (string.IsNullOrWhiteSpace(usn)) - //{ - // return false; - //} - - //_logger.Debug("IsSelfNotification test: " + usn); - - //return RegisteredDevices.Any(i => - //{ - // var isSameDevice = string.Equals(usn, i.USN, StringComparison.OrdinalIgnoreCase) || - // i.USN.IndexOf(usn, StringComparison.OrdinalIgnoreCase) != 1 || - // usn.IndexOf(i.USN, StringComparison.OrdinalIgnoreCase) != 1; - - // return isSameDevice; - //}); } public void Dispose() |
