Skip to content

Commit

Permalink
Fix jellyfin 10.9 build
Browse files Browse the repository at this point in the history
  • Loading branch information
josdion committed May 16, 2024
1 parent f0b8fc2 commit 9c4534f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
8 changes: 0 additions & 8 deletions Configuration/configPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ <h2 class="sectionTitle">Providers</h2>
<input is="emby-checkbox" type="checkbox" class="EnablePodnapisiNet" id="EnablePodnapisiNet" />
<span>Podnapisi.NET</span>
</label>
<label>
<input is="emby-checkbox" type="checkbox" class="EnableSubf2m" id="EnableSubf2m" />
<span>Subf2me.co</span>
</label>
<label>
<input is="emby-checkbox" type="checkbox" class="EnableSubscene" id="EnableSubscene" />
<span>Subscene.com</span>
</label>
<label>
<input is="emby-checkbox" type="checkbox" class="EnableSubssabbz" id="EnableSubssabbz" />
<span>Subs.sab.bz</span>
Expand Down
5 changes: 3 additions & 2 deletions 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;
using subbuzz.Providers;
Expand All @@ -7,7 +8,7 @@ namespace subbuzz;

public class PluginServiceRegistrator : IPluginServiceRegistrator
{
public void RegisterServices(IServiceCollection serviceCollection)
public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHos)
{
serviceCollection.AddSingleton<ISubtitleProvider, SubBuzz>();
}
Expand Down
4 changes: 2 additions & 2 deletions Providers/SubBuzz.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public SubBuzz(
{ YavkaNet.NAME, new YavkaNet(_logger.GetLogger<YavkaNet>(), fileSystem, localizationManager, libraryManager) },
{ OpenSubtitlesCom.NAME, new OpenSubtitlesCom(_logger.GetLogger<OpenSubtitlesCom>(), fileSystem, localizationManager, libraryManager) },
{ PodnapisiNet.NAME, new PodnapisiNet(_logger.GetLogger<PodnapisiNet>(), fileSystem, localizationManager, libraryManager) },
{ Subf2m.NAME, new Subf2m(_logger.GetLogger<Subf2m>(), fileSystem, localizationManager, libraryManager) },
{ Subscene.NAME, new Subscene(_logger.GetLogger<Subscene>(), fileSystem, localizationManager, libraryManager) },
//{ Subf2m.NAME, new Subf2m(_logger.GetLogger<Subf2m>(), fileSystem, localizationManager, libraryManager) },
//{ Subscene.NAME, new Subscene(_logger.GetLogger<Subscene>(), fileSystem, localizationManager, libraryManager) },
{ YifySubtitles.NAME, new YifySubtitles(_logger.GetLogger<YifySubtitles>(), fileSystem, localizationManager, libraryManager) },
{ Addic7ed.NAME, new Addic7ed(_logger.GetLogger<Addic7ed>(), fileSystem, localizationManager, libraryManager) },
};
Expand Down

0 comments on commit 9c4534f

Please sign in to comment.