|
|
|
@ -127,17 +127,6 @@ namespace MediaBrowser.ServerApplication
|
|
|
|
|
RegisterSingleInstance(ServerFactory.CreateServer(this, ProtobufSerializer, Logger, "Media Browser", "index.html"), false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Finds the parts.
|
|
|
|
|
/// </summary>
|
|
|
|
|
protected override void FindParts()
|
|
|
|
|
{
|
|
|
|
|
Resolve<ITaskManager>().AddTasks(GetExports<IScheduledTask>(false));
|
|
|
|
|
|
|
|
|
|
Resolve<IHttpServer>().Init(GetExports<IRestfulService>(false));
|
|
|
|
|
Resolve<IServerManager>().AddWebSocketListeners(GetExports<IWebSocketListener>(false));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Restarts this instance.
|
|
|
|
|
/// </summary>
|
|
|
|
|