-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
63 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
using MediaBrowser.Common.Plugins; | ||
using MediaBrowser.Controller; | ||
using MediaBrowser.Controller.Plugins; | ||
|
||
using Microsoft.Extensions.DependencyInjection; | ||
|
||
namespace Jellyfin.Plugin.Tvdb | ||
namespace Jellyfin.Plugin.Tvdb; | ||
|
||
/// <summary> | ||
/// Register tvdb services. | ||
/// </summary> | ||
public class TvdbPluginServiceRegistrator : IPluginServiceRegistrator | ||
Check failure on line 11 in Jellyfin.Plugin.Tvdb/TvdbPluginServiceRegistrator.cs GitHub Actions / call / test
Check failure on line 11 in Jellyfin.Plugin.Tvdb/TvdbPluginServiceRegistrator.cs GitHub Actions / call / test
Check failure on line 11 in Jellyfin.Plugin.Tvdb/TvdbPluginServiceRegistrator.cs GitHub Actions / call / build
Check failure on line 11 in Jellyfin.Plugin.Tvdb/TvdbPluginServiceRegistrator.cs GitHub Actions / call / Analyze (csharp)
|
||
{ | ||
/// <summary> | ||
/// Register tvdb services. | ||
/// </summary> | ||
public class TvdbPluginServiceRegistrator : IPluginServiceRegistrator | ||
/// <inheritdoc /> | ||
public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost) | ||
{ | ||
/// <inheritdoc /> | ||
public void RegisterServices(IServiceCollection serviceCollection) | ||
{ | ||
serviceCollection.AddSingleton<TvdbClientManager>(); | ||
} | ||
serviceCollection.AddSingleton<TvdbClientManager>(); | ||
} | ||
} | ||
} |