mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-25 11:34:43 +01:00
fixed dlna port
This commit is contained in:
@@ -861,7 +861,7 @@ namespace MediaBrowser.ServerApplication
|
||||
ItemsByNamePath = ApplicationPaths.ItemsByNamePath,
|
||||
CachePath = ApplicationPaths.CachePath,
|
||||
MacAddress = GetMacAddress(),
|
||||
HttpServerPortNumber = ServerConfigurationManager.Configuration.HttpServerPortNumber,
|
||||
HttpServerPortNumber = HttpServerPort,
|
||||
OperatingSystem = Environment.OSVersion.ToString(),
|
||||
CanSelfRestart = CanSelfRestart,
|
||||
CanSelfUpdate = CanSelfUpdate,
|
||||
@@ -874,6 +874,11 @@ namespace MediaBrowser.ServerApplication
|
||||
};
|
||||
}
|
||||
|
||||
public int HttpServerPort
|
||||
{
|
||||
get { return ServerConfigurationManager.Configuration.HttpServerPortNumber; }
|
||||
}
|
||||
|
||||
private readonly CultureInfo _usCulture = new CultureInfo("en-US");
|
||||
private string GetWanAddress()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user