diff options
| author | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-16 20:52:40 -0400 |
|---|---|---|
| committer | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-16 20:52:40 -0400 |
| commit | f740d1b9f00d91bfad970f56abed67d8c8c16c9c (patch) | |
| tree | 1e82a195e7e3f74406765dfb64b6d6c30e843d2a /Jellyfin.Server/CoreAppHost.cs | |
| parent | f4fd908f8d7ffcdea6acaf75928f6c2960ed6338 (diff) | |
Remove use of AddParts. Cleanup use of Lyric vs Lyrics.
Diffstat (limited to 'Jellyfin.Server/CoreAppHost.cs')
| -rw-r--r-- | Jellyfin.Server/CoreAppHost.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Jellyfin.Server/CoreAppHost.cs b/Jellyfin.Server/CoreAppHost.cs index 67e50b92d..984711dc2 100644 --- a/Jellyfin.Server/CoreAppHost.cs +++ b/Jellyfin.Server/CoreAppHost.cs @@ -19,6 +19,7 @@ using MediaBrowser.Controller.Devices; using MediaBrowser.Controller.Drawing; using MediaBrowser.Controller.Events; using MediaBrowser.Controller.Library; +using MediaBrowser.Controller.Lyrics; using MediaBrowser.Controller.Net; using MediaBrowser.Controller.Security; using MediaBrowser.Model.Activity; @@ -95,6 +96,11 @@ namespace Jellyfin.Server serviceCollection.AddScoped<IAuthenticationManager, AuthenticationManager>(); + foreach (var type in GetExportTypes<ILyricProvider>()) + { + serviceCollection.AddSingleton(typeof(ILyricProvider), type); + } + base.RegisterServices(serviceCollection); } |
