mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
Added IAppHost.Name
This commit is contained in:
parent
51954a283f
commit
ac8ffb8db0
@ -165,6 +165,12 @@ namespace MediaBrowser.Common.Implementations
|
|||||||
|
|
||||||
protected IIsoManager IsoManager { get; private set; }
|
protected IIsoManager IsoManager { get; private set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the name.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The name.</value>
|
||||||
|
public abstract string Name { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="BaseApplicationHost{TApplicationPathsType}"/> class.
|
/// Initializes a new instance of the <see cref="BaseApplicationHost{TApplicationPathsType}"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -13,6 +13,12 @@ namespace MediaBrowser.Common
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IApplicationHost
|
public interface IApplicationHost
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the name.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The name.</value>
|
||||||
|
string Name { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Occurs when [application updated].
|
/// Occurs when [application updated].
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -185,6 +185,18 @@ namespace MediaBrowser.ServerApplication
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the name.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The name.</value>
|
||||||
|
public override string Name
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return "Media Browser Server";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether this instance can self restart.
|
/// Gets a value indicating whether this instance can self restart.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -732,7 +744,7 @@ namespace MediaBrowser.ServerApplication
|
|||||||
{
|
{
|
||||||
ServerAuthorization.AuthorizeServer(
|
ServerAuthorization.AuthorizeServer(
|
||||||
ServerConfigurationManager.Configuration.HttpServerPortNumber,
|
ServerConfigurationManager.Configuration.HttpServerPortNumber,
|
||||||
HttpServerUrlPrefixes.First(),
|
HttpServerUrlPrefixes.First(),
|
||||||
ServerConfigurationManager.Configuration.LegacyWebSocketPortNumber,
|
ServerConfigurationManager.Configuration.LegacyWebSocketPortNumber,
|
||||||
UdpServerEntryPoint.PortNumber,
|
UdpServerEntryPoint.PortNumber,
|
||||||
ConfigurationManager.CommonApplicationPaths.TempDirectory);
|
ConfigurationManager.CommonApplicationPaths.TempDirectory);
|
||||||
|
Loading…
Reference in New Issue
Block a user