From fa6d859a5146013c54a4677a50f2fccbcc6afd02 Mon Sep 17 00:00:00 2001 From: Patrick Barron Date: Wed, 21 Feb 2024 11:10:57 -0500 Subject: [PATCH] Rename LiveTvHost to RecordingsHost and move to recordings folder --- Jellyfin.Server/Startup.cs | 2 +- .../LiveTvHost.cs => Recordings/RecordingsHost.cs} | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) rename src/Jellyfin.LiveTv/{EmbyTV/LiveTvHost.cs => Recordings/RecordingsHost.cs} (73%) diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.cs index 51b34fd158..6728cd0b40 100644 --- a/Jellyfin.Server/Startup.cs +++ b/Jellyfin.Server/Startup.cs @@ -128,7 +128,7 @@ namespace Jellyfin.Server services.AddHlsPlaylistGenerator(); services.AddLiveTvServices(); - services.AddHostedService(); + services.AddHostedService(); services.AddHostedService(); services.AddHostedService(); services.AddHostedService(); diff --git a/src/Jellyfin.LiveTv/EmbyTV/LiveTvHost.cs b/src/Jellyfin.LiveTv/Recordings/RecordingsHost.cs similarity index 73% rename from src/Jellyfin.LiveTv/EmbyTV/LiveTvHost.cs rename to src/Jellyfin.LiveTv/Recordings/RecordingsHost.cs index 18ff6a949f..f4daa09756 100644 --- a/src/Jellyfin.LiveTv/EmbyTV/LiveTvHost.cs +++ b/src/Jellyfin.LiveTv/Recordings/RecordingsHost.cs @@ -4,22 +4,22 @@ using Jellyfin.LiveTv.Timers; using MediaBrowser.Controller.LiveTv; using Microsoft.Extensions.Hosting; -namespace Jellyfin.LiveTv.EmbyTV; +namespace Jellyfin.LiveTv.Recordings; /// -/// responsible for initializing Live TV. +/// responsible for Live TV recordings. /// -public sealed class LiveTvHost : IHostedService +public sealed class RecordingsHost : IHostedService { private readonly IRecordingsManager _recordingsManager; private readonly TimerManager _timerManager; /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The . /// The . - public LiveTvHost(IRecordingsManager recordingsManager, TimerManager timerManager) + public RecordingsHost(IRecordingsManager recordingsManager, TimerManager timerManager) { _recordingsManager = recordingsManager; _timerManager = timerManager;