The Free Software Media System - Server Backend & API
Rename LiveTvHost to RecordingsHost and move to recordings folder
Patrick Barronfa6d859a5146
diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.csindex 51b34fd158..6728cd0b40 100644--- a/Jellyfin.Server/Startup.cs+++ b/Jellyfin.Server/Startup.cs@@ -128,7 +128,7 @@ namespace Jellyfin.Serverservices.AddHlsPlaylistGenerator();services.AddLiveTvServices();- services.AddHostedService<LiveTvHost>();+ services.AddHostedService<RecordingsHost>();services.AddHostedService<AutoDiscoveryHost>();services.AddHostedService<PortForwardingHost>();services.AddHostedService<NfoUserDataSaver>();diff --git a/src/Jellyfin.LiveTv/EmbyTV/LiveTvHost.cs b/src/Jellyfin.LiveTv/Recordings/RecordingsHost.cssimilarity index 73%rename from src/Jellyfin.LiveTv/EmbyTV/LiveTvHost.csrename to src/Jellyfin.LiveTv/Recordings/RecordingsHost.csindex 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;/// <summary>-/// <see cref="IHostedService"/> responsible for initializing Live TV.+/// <see cref="IHostedService"/> responsible for Live TV recordings./// </summary>-public sealed class LiveTvHost : IHostedService+public sealed class RecordingsHost : IHostedService{private readonly IRecordingsManager _recordingsManager;private readonly TimerManager _timerManager;/// <summary>- /// Initializes a new instance of the <see cref="LiveTvHost"/> class.+ /// Initializes a new instance of the <see cref="RecordingsHost"/> class./// </summary>/// <param name="recordingsManager">The <see cref="IRecordingsManager"/>.</param>/// <param name="timerManager">The <see cref="TimerManager"/>.</param>- public LiveTvHost(IRecordingsManager recordingsManager, TimerManager timerManager)+ public RecordingsHost(IRecordingsManager recordingsManager, TimerManager timerManager){_recordingsManager = recordingsManager;_timerManager = timerManager;