mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Merge branch 'master' into trickplay
This commit is contained in:
@@ -24,6 +24,7 @@ using MediaBrowser.Controller.Net;
|
||||
using MediaBrowser.Controller.Security;
|
||||
using MediaBrowser.Controller.Trickplay;
|
||||
using MediaBrowser.Model.Activity;
|
||||
using MediaBrowser.Providers.Lyric;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
@@ -96,12 +97,14 @@ namespace Jellyfin.Server
|
||||
serviceCollection.AddSingleton(typeof(ILyricProvider), type);
|
||||
}
|
||||
|
||||
foreach (var type in GetExportTypes<ILyricParser>())
|
||||
{
|
||||
serviceCollection.AddSingleton(typeof(ILyricParser), type);
|
||||
}
|
||||
|
||||
base.RegisterServices(serviceCollection);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void RestartInternal() => Program.Restart();
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override IEnumerable<Assembly> GetAssembliesWithPartsInternal()
|
||||
{
|
||||
@@ -111,8 +114,5 @@ namespace Jellyfin.Server
|
||||
// Jellyfin.Server.Implementations
|
||||
yield return typeof(JellyfinDbContext).Assembly;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void ShutdownInternal() => Program.Shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user