aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Startup.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2024-02-06 16:18:17 -0500
committerPatrick Barron <barronpm@gmail.com>2024-02-07 10:52:36 -0500
commit690e603b90ae9d856386d5fb6bf3e32d4cb46a9c (patch)
tree3103a12886f04cccc0833325d08fe423235e03dc /Jellyfin.Server/Startup.cs
parent24b4d025967135a8895fedf1c45f3679f3b89393 (diff)
Use IHostedService for NFO user data
Diffstat (limited to 'Jellyfin.Server/Startup.cs')
-rw-r--r--Jellyfin.Server/Startup.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.cs
index 84f9bff61..1d78b1602 100644
--- a/Jellyfin.Server/Startup.cs
+++ b/Jellyfin.Server/Startup.cs
@@ -19,6 +19,7 @@ using Jellyfin.Server.Infrastructure;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Extensions;
+using MediaBrowser.XbmcMetadata;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
@@ -128,6 +129,7 @@ namespace Jellyfin.Server
services.AddHostedService<AutoDiscoveryHost>();
services.AddHostedService<PortForwardingHost>();
+ services.AddHostedService<NfoUserDataSaver>();
services.AddHostedService<LibraryChangedNotifier>();
services.AddHostedService<UserDataChangeNotifier>();
services.AddHostedService<RecordingNotifier>();