Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MBR-0001 committed Apr 2, 2024
1 parent 04cb6f0 commit 701c116
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jellyfin.Plugin.OpenSubtitles/PluginServiceRegistrator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using MediaBrowser.Common.Plugins;
using MediaBrowser.Controller;
using MediaBrowser.Controller.Plugins;
using MediaBrowser.Controller.Subtitles;
using Microsoft.Extensions.DependencyInjection;

Expand All @@ -10,7 +11,7 @@ namespace Jellyfin.Plugin.OpenSubtitles;
public class PluginServiceRegistrator : IPluginServiceRegistrator
{
/// <inheritdoc />
public void RegisterServices(IServiceCollection serviceCollection)
public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost)
{
serviceCollection.AddSingleton<ISubtitleProvider, OpenSubtitleDownloader>();
}
Expand Down

0 comments on commit 701c116

Please sign in to comment.