diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-22 11:14:15 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-22 11:14:15 +0100 |
| commit | 27396bffc6d2cc0595ffba4dd400a9e5bbfafc0f (patch) | |
| tree | 662a7189e9c96d80df9a1d51babe2b23207c2946 /src/Jellyfin.LiveTv/Extensions | |
| parent | d156e04c9a2b16d38aede38f0de773a4d128e48f (diff) | |
Handle 5002, 5003 and add caches
Diffstat (limited to 'src/Jellyfin.LiveTv/Extensions')
| -rw-r--r-- | src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs b/src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs index ed72badbc0..0c2abe8beb 100644 --- a/src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs +++ b/src/Jellyfin.LiveTv/Extensions/LiveTvServiceCollectionExtensions.cs @@ -40,7 +40,9 @@ public static class LiveTvServiceCollectionExtensions services.AddSingleton<ILiveTvService, DefaultLiveTvService>(); services.AddSingleton<ITunerHost, HdHomerunHost>(); services.AddSingleton<ITunerHost, M3UTunerHost>(); - services.AddSingleton<IListingsProvider, SchedulesDirect>(); + services.AddSingleton<SchedulesDirect>(); + services.AddSingleton<IListingsProvider>(s => s.GetRequiredService<SchedulesDirect>()); + services.AddSingleton<ISchedulesDirectService>(s => s.GetRequiredService<SchedulesDirect>()); services.AddSingleton<IListingsProvider, XmlTvListingsProvider>(); } } |
