removed bad merge code

pull/5312/head
BaronGreenback 4 years ago
parent a25e3c0256
commit d95ca20fc7

@ -313,7 +313,7 @@ namespace Emby.Dlna.Main
_logger.LogInformation("Registering publisher for {0} on {1}", fullService, address); _logger.LogInformation("Registering publisher for {0} on {1}", fullService, address);
var uri = new UriBuilder(_appHost.GetSmartApiUrl(address.Address) + descriptorUri); var uri = new UriBuilder(_appHost.GetSmartApiUrl(address.Address) + descriptorUri);
if (string.IsNullOrEmpty(_appHost.PublishedServerUrl)) if (_appHost.PublishedServerUrl == null)
{ {
// DLNA will only work over http, so we must reset to http:// : {port}. // DLNA will only work over http, so we must reset to http:// : {port}.
uri.Scheme = "http"; uri.Scheme = "http";

@ -1146,11 +1146,6 @@ namespace Emby.Server.Implementations
/// <inheritdoc/> /// <inheritdoc/>
public bool ListenWithHttps => Certificate != null && ServerConfigurationManager.GetNetworkConfiguration().EnableHttps; public bool ListenWithHttps => Certificate != null && ServerConfigurationManager.GetNetworkConfiguration().EnableHttps;
public string GetStartupOption(string propName)
{
return _startupOptions.GetType().GetProperty(propName).GetValue(src, null);
}
/// <inheritdoc/> /// <inheritdoc/>
public string GetSmartApiUrl(IPAddress ipAddress, int? port = null) public string GetSmartApiUrl(IPAddress ipAddress, int? port = null)
{ {

Loading…
Cancel
Save