diff --git a/MediaBrowser.Common.Implementations/BaseApplicationHost.cs b/MediaBrowser.Common.Implementations/BaseApplicationHost.cs
index 8e9a287b6..9d2dd0838 100644
--- a/MediaBrowser.Common.Implementations/BaseApplicationHost.cs
+++ b/MediaBrowser.Common.Implementations/BaseApplicationHost.cs
@@ -165,6 +165,12 @@ namespace MediaBrowser.Common.Implementations
protected IIsoManager IsoManager { get; private set; }
+ ///
+ /// Gets the name.
+ ///
+ /// The name.
+ public abstract string Name { get; }
+
///
/// Initializes a new instance of the class.
///
diff --git a/MediaBrowser.Common/IApplicationHost.cs b/MediaBrowser.Common/IApplicationHost.cs
index 1c7ffe424..8cd1252c7 100644
--- a/MediaBrowser.Common/IApplicationHost.cs
+++ b/MediaBrowser.Common/IApplicationHost.cs
@@ -13,6 +13,12 @@ namespace MediaBrowser.Common
///
public interface IApplicationHost
{
+ ///
+ /// Gets the name.
+ ///
+ /// The name.
+ string Name { get; }
+
///
/// Occurs when [application updated].
///
diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs
index 045c9f18c..b78a0f36d 100644
--- a/MediaBrowser.ServerApplication/ApplicationHost.cs
+++ b/MediaBrowser.ServerApplication/ApplicationHost.cs
@@ -185,6 +185,18 @@ namespace MediaBrowser.ServerApplication
}
+ ///
+ /// Gets the name.
+ ///
+ /// The name.
+ public override string Name
+ {
+ get
+ {
+ return "Media Browser Server";
+ }
+ }
+
///
/// Gets a value indicating whether this instance can self restart.
///
@@ -732,7 +744,7 @@ namespace MediaBrowser.ServerApplication
{
ServerAuthorization.AuthorizeServer(
ServerConfigurationManager.Configuration.HttpServerPortNumber,
- HttpServerUrlPrefixes.First(),
+ HttpServerUrlPrefixes.First(),
ServerConfigurationManager.Configuration.LegacyWebSocketPortNumber,
UdpServerEntryPoint.PortNumber,
ConfigurationManager.CommonApplicationPaths.TempDirectory);