jellyfin-plugin-kodisyncqueue/Jellyfin.Plugin.KodiSyncQueue/PluginServiceRegistrator.cs
Cody Robibero 3b2220fe30
10.9 (#82)
2024-05-11 13:41:38 -06:00

16 lines
542 B
C#

using Jellyfin.Plugin.KodiSyncQueue.EntryPoints;
using MediaBrowser.Controller;
using MediaBrowser.Controller.Plugins;
using Microsoft.Extensions.DependencyInjection;
namespace Jellyfin.Plugin.KodiSyncQueue;
public class PluginServiceRegistrator : IPluginServiceRegistrator
{
public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost)
{
serviceCollection.AddHostedService<LibrarySyncNotification>();
serviceCollection.AddHostedService<UserSyncNotification>();
}
}