diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2023-07-01 18:28:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-01 18:28:35 +0200 |
| commit | eae92c5acce88de7826b4de698f3b78a67a427bb (patch) | |
| tree | 816d4e7b8c31d0b8548adb10255fe208079fe5fb /Jellyfin.Server | |
| parent | b5bbb98175e0542d43c01f80c15e8dce04e58b53 (diff) | |
| parent | 0af5373f6d9050e9bb5a7cb4ed19742a8893d074 (diff) | |
Merge pull request #9920 from nielsvanvelzen/lyric-parser
Diffstat (limited to 'Jellyfin.Server')
| -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 939376dd8d..0c6315c667 100644 --- a/Jellyfin.Server/CoreAppHost.cs +++ b/Jellyfin.Server/CoreAppHost.cs @@ -22,6 +22,7 @@ using MediaBrowser.Controller.Lyrics; using MediaBrowser.Controller.Net; using MediaBrowser.Controller.Security; using MediaBrowser.Model.Activity; +using MediaBrowser.Providers.Lyric; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; @@ -93,6 +94,11 @@ namespace Jellyfin.Server serviceCollection.AddSingleton(typeof(ILyricProvider), type); } + foreach (var type in GetExportTypes<ILyricParser>()) + { + serviceCollection.AddSingleton(typeof(ILyricParser), type); + } + base.RegisterServices(serviceCollection); } |
