mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
fixed build
This commit is contained in:
parent
159ecb882f
commit
caa8e7cdf3
2 changed files with 2 additions and 2 deletions
|
@ -316,7 +316,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 (_appHost.PublishedServerUrl == null)
|
if (!string.IsNullOrEmpty(_appHost.PublishedServerUrl))
|
||||||
{
|
{
|
||||||
// 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";
|
||||||
|
|
|
@ -55,7 +55,7 @@ namespace MediaBrowser.Controller
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the configured published server url.
|
/// Gets the configured published server url.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Uri PublishedServerUrl { get; }
|
string PublishedServerUrl { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the system info.
|
/// Gets the system info.
|
||||||
|
|
Loading…
Reference in a new issue