mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #5275 from BaronGreenback/upnpStartupFix
Fixes #5148 (cherry picked from commit 0beda0e32c3e80719700a708b4c9864698cd8f24) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
4220808b96
commit
19ff447e51
@ -228,7 +228,10 @@ namespace Emby.Dlna.Main
|
||||
{
|
||||
try
|
||||
{
|
||||
((DeviceDiscovery)_deviceDiscovery).Start(communicationsServer);
|
||||
if (communicationsServer != null)
|
||||
{
|
||||
((DeviceDiscovery)_deviceDiscovery).Start(communicationsServer);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user