mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
add separate entry point for new item notifier
This commit is contained in:
@@ -378,19 +378,16 @@ namespace MediaBrowser.ServerApplication
|
||||
RegisterServerWithAdministratorAccess();
|
||||
}
|
||||
|
||||
base.FindParts();
|
||||
|
||||
HttpServer.Init(GetExports<IRestfulService>(false));
|
||||
|
||||
ServerManager.AddWebSocketListeners(GetExports<IWebSocketListener>(false));
|
||||
|
||||
StartServer(true);
|
||||
|
||||
Parallel.Invoke(
|
||||
|
||||
() => base.FindParts(),
|
||||
|
||||
() =>
|
||||
{
|
||||
HttpServer.Init(GetExports<IRestfulService>(false));
|
||||
|
||||
ServerManager.AddWebSocketListeners(GetExports<IWebSocketListener>(false));
|
||||
|
||||
StartServer(true);
|
||||
},
|
||||
|
||||
() => LibraryManager.AddParts(GetExports<IResolverIgnoreRule>(), GetExports<IVirtualFolderCreator>(), GetExports<IItemResolver>(), GetExports<IIntroProvider>(), GetExports<IBaseItemComparer>()),
|
||||
|
||||
() => ProviderManager.AddMetadataProviders(GetExports<BaseMetadataProvider>().ToArray()),
|
||||
|
||||
Reference in New Issue
Block a user