aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/ApplicationHost.cs
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2013-05-17 11:53:13 -0400
committerEric Reed <ebr@mediabrowser3.com>2013-05-17 11:53:13 -0400
commit584641a6f43fee18f65dc9c8abd24b88742922ce (patch)
treec25da5ee2b3819281cf20a0f847a0c89fef10adb /MediaBrowser.ServerApplication/ApplicationHost.cs
parent1b333d124487a49f221c4f09f259a1d1891c6b44 (diff)
parentda7af24fca3b2462b971dce595cfa5e548311cce (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.ServerApplication/ApplicationHost.cs')
-rw-r--r--MediaBrowser.ServerApplication/ApplicationHost.cs15
1 files changed, 6 insertions, 9 deletions
diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs
index a35ac44ea..4dd24d98f 100644
--- a/MediaBrowser.ServerApplication/ApplicationHost.cs
+++ b/MediaBrowser.ServerApplication/ApplicationHost.cs
@@ -378,18 +378,15 @@ namespace MediaBrowser.ServerApplication
RegisterServerWithAdministratorAccess();
}
- Parallel.Invoke(
+ base.FindParts();
- () => base.FindParts(),
+ HttpServer.Init(GetExports<IRestfulService>(false));
- () =>
- {
- HttpServer.Init(GetExports<IRestfulService>(false));
+ ServerManager.AddWebSocketListeners(GetExports<IWebSocketListener>(false));
- ServerManager.AddWebSocketListeners(GetExports<IWebSocketListener>(false));
-
- StartServer(true);
- },
+ StartServer(true);
+
+ Parallel.Invoke(
() => LibraryManager.AddParts(GetExports<IResolverIgnoreRule>(), GetExports<IVirtualFolderCreator>(), GetExports<IItemResolver>(), GetExports<IIntroProvider>(), GetExports<IBaseItemComparer>()),