Skip to content

Commit

Permalink
Register TvdbMissingEpisodeProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
BobSilent committed Feb 29, 2024
1 parent 95ece1e commit e792a31
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Jellyfin.Plugin.Tvdb/Providers/TvdbPersonImageProvider.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;

using Jellyfin.Data.Enums;

using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Dto;
using MediaBrowser.Controller.Entities;
Expand All @@ -14,8 +15,8 @@
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Providers;

using Microsoft.Extensions.Logging;
using Tvdb.Sdk;

namespace Jellyfin.Plugin.Tvdb.Providers
{
Expand Down
1 change: 0 additions & 1 deletion Jellyfin.Plugin.Tvdb/Providers/TvdbSeasonImageProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Text.Json;
Expand Down
1 change: 0 additions & 1 deletion Jellyfin.Plugin.Tvdb/Providers/TvdbSeriesImageProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Text.Json;
Expand Down
3 changes: 3 additions & 0 deletions Jellyfin.Plugin.Tvdb/TvdbPluginServiceRegistrator.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using Jellyfin.Plugin.Tvdb.Providers;

using MediaBrowser.Controller;
using MediaBrowser.Controller.Plugins;

Expand All @@ -14,5 +16,6 @@ public class TvdbPluginServiceRegistrator : IPluginServiceRegistrator
public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost)
{
serviceCollection.AddSingleton<TvdbClientManager>();
serviceCollection.AddHostedService<TvdbMissingEpisodeProvider>();
}
}

0 comments on commit e792a31

Please sign in to comment.