diff options
| author | Cody Robibero <cody@robibe.ro> | 2024-02-21 14:24:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 14:24:50 -0700 |
| commit | ca21a80c95d7e96734484ee642f761be2f3a4d0c (patch) | |
| tree | 1ab2e7e37295492788e5edd572a67e503862061f /src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs | |
| parent | 1dfaa171a95e3e6eea780f018cd8442f1dcc9f78 (diff) | |
| parent | 170b8b2550a6ebb08453fe96d6c2223eaa1aa0ff (diff) | |
Merge pull request #11045 from barronpm/livetv-recordingsmanager
LiveTV Recordings Refactor
Diffstat (limited to 'src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs')
| -rw-r--r-- | src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs b/src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs index e4800a031..e247ecb44 100644 --- a/src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs +++ b/src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs @@ -1,6 +1,9 @@ using Jellyfin.LiveTv.Channels; using Jellyfin.LiveTv.Guide; +using Jellyfin.LiveTv.IO; using Jellyfin.LiveTv.Listings; +using Jellyfin.LiveTv.Recordings; +using Jellyfin.LiveTv.Timers; using Jellyfin.LiveTv.TunerHosts; using Jellyfin.LiveTv.TunerHosts.HdHomerun; using MediaBrowser.Controller.Channels; @@ -22,12 +25,17 @@ public static class LiveTvServiceCollectionExtensions public static void AddLiveTvServices(this IServiceCollection services) { services.AddSingleton<LiveTvDtoService>(); + services.AddSingleton<TimerManager>(); + services.AddSingleton<SeriesTimerManager>(); + services.AddSingleton<RecordingsMetadataManager>(); + services.AddSingleton<ILiveTvManager, LiveTvManager>(); services.AddSingleton<IChannelManager, ChannelManager>(); services.AddSingleton<IStreamHelper, StreamHelper>(); services.AddSingleton<ITunerHostManager, TunerHostManager>(); services.AddSingleton<IListingsManager, ListingsManager>(); services.AddSingleton<IGuideManager, GuideManager>(); + services.AddSingleton<IRecordingsManager, RecordingsManager>(); services.AddSingleton<ILiveTvService, EmbyTV.EmbyTV>(); services.AddSingleton<ITunerHost, HdHomerunHost>(); |
