mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
removed bad merge code
This commit is contained in:
parent
a25e3c0256
commit
d95ca20fc7
@ -313,7 +313,7 @@ namespace Emby.Dlna.Main
|
||||
_logger.LogInformation("Registering publisher for {0} on {1}", fullService, address);
|
||||
|
||||
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}.
|
||||
uri.Scheme = "http";
|
||||
|
@ -1146,11 +1146,6 @@ namespace Emby.Server.Implementations
|
||||
/// <inheritdoc/>
|
||||
public bool ListenWithHttps => Certificate != null && ServerConfigurationManager.GetNetworkConfiguration().EnableHttps;
|
||||
|
||||
public string GetStartupOption(string propName)
|
||||
{
|
||||
return _startupOptions.GetType().GetProperty(propName).GetValue(src, null);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string GetSmartApiUrl(IPAddress ipAddress, int? port = null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user