Rename LiveTvHost to RecordingsHost and move to recordings folder

This commit is contained in:
Patrick Barron 2024-02-21 11:10:57 -05:00
parent 3beb10747f
commit fa6d859a51
2 changed files with 6 additions and 6 deletions

View File

@ -128,7 +128,7 @@ namespace Jellyfin.Server
services.AddHlsPlaylistGenerator();
services.AddLiveTvServices();
services.AddHostedService<LiveTvHost>();
services.AddHostedService<RecordingsHost>();
services.AddHostedService<AutoDiscoveryHost>();
services.AddHostedService<PortForwardingHost>();
services.AddHostedService<NfoUserDataSaver>();

View File

@ -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;