mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
remove self ignore
This commit is contained in:
parent
fc7ed4d3fb
commit
343c7615a2
@ -433,27 +433,9 @@ namespace MediaBrowser.Dlna.Ssdp
|
|||||||
|
|
||||||
if (string.Equals(server, _serverSignature, StringComparison.OrdinalIgnoreCase))
|
if (string.Equals(server, _serverSignature, StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
return true;
|
//return true;
|
||||||
}
|
}
|
||||||
return false;
|
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()
|
public void Dispose()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user