The Free Software Media System - Server Backend & API
remove link between ssdp and upnp
BaronGreenback40a43f9485be
diff --git a/Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.cs b/Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.csindex 14201ead29..ad136ae494 100644--- a/Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.cs+++ b/Emby.Server.Implementations/EntryPoints/ExternalPortForwarding.cs@@ -106,8 +106,6 @@ namespace Emby.Server.Implementations.EntryPointsNatUtility.StartDiscovery();_timer = new Timer((_) => _createdRules.Clear(), null, TimeSpan.FromMinutes(10), TimeSpan.FromMinutes(10));-- _deviceDiscovery.DeviceDiscovered += OnDeviceDiscoveryDeviceDiscovered;}private void Stop()@@ -118,13 +116,6 @@ namespace Emby.Server.Implementations.EntryPointsNatUtility.DeviceFound -= OnNatUtilityDeviceFound;_timer?.Dispose();-- _deviceDiscovery.DeviceDiscovered -= OnDeviceDiscoveryDeviceDiscovered;- }-- private void OnDeviceDiscoveryDeviceDiscovered(object sender, GenericEventArgs<UpnpDeviceInfo> e)- {- NatUtility.Search(e.Argument.LocalIpAddress, NatProtocol.Upnp);}private async void OnNatUtilityDeviceFound(object sender, DeviceEventArgs e)