Skip to content

The Free Software Media System - Server Backend & API

Merge branch 'master' into SSDP

Cody Robibero43221fc26b46
diff --cc Emby.Dlna/Main/DlnaEntryPoint.cs
index f284af44e5,b965a09b92..9b9b57e973
--- a/Emby.Dlna/Main/DlnaEntryPoint.cs
+++ b/Emby.Dlna/Main/DlnaEntryPoint.cs
@@@ -33,8 -33,10 +33,8 @@@ namespace Emby.Dlna.Mai
public class DlnaEntryPoint : IServerEntryPoint, IRunBeforeStartup
{
private readonly IServerConfigurationManager _config;
- private readonly ILogger _logger;
+ private readonly ILogger<DlnaEntryPoint> _logger;
private readonly IServerApplicationHost _appHost;
-
- private PlayToManager _manager;
private readonly ISessionManager _sessionManager;
private readonly IHttpClient _httpClient;
private readonly ILibraryManager _libraryManager;
diff --cc Emby.Server.Implementations/Networking/NetworkManager.cs
index 967263a200,d12b5a9371..6aa1dfbc9b
--- a/Emby.Server.Implementations/Networking/NetworkManager.cs
+++ b/Emby.Server.Implementations/Networking/NetworkManager.cs
@@@ -1,5 -1,8 +1,7 @@@
+ #pragma warning disable CS1591
+
using System;
using System.Collections.Generic;
-using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
diff --cc RSSDP/SsdpDeviceLocator.cs
index b62c50e28d,38562ce498..bfad6de97a
--- a/RSSDP/SsdpDeviceLocator.cs
+++ b/RSSDP/SsdpDeviceLocator.cs
@@@ -356,8 -349,11 +349,11 @@@ namespace Rssdp.Infrastructur
private void ProcessSearchResponseMessage(HttpResponseMessage message, IPAddress localIpAddress)
{
- if (!message.IsSuccessStatusCode) return;
+ if (!message.IsSuccessStatusCode)
+ {
+ return;
+ }
-
+
var location = GetFirstHeaderUriValue("Location", message);
if (location != null)
{