Use IHostedService for UPnP port forwarding

This commit is contained in:
Patrick Barron
2024-02-06 14:45:44 -05:00
parent 143ef71528
commit 99ea6059c7
2 changed files with 35 additions and 37 deletions

View File

@@ -125,6 +125,7 @@ namespace Jellyfin.Server
services.AddLiveTvServices();
services.AddHostedService<AutoDiscoveryHost>();
services.AddHostedService<PortForwardingHost>();
}
/// <summary>