aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2024-02-21 11:10:57 -0500
committerPatrick Barron <barronpm@gmail.com>2024-02-23 09:57:55 -0500
commitfa6d859a5146013c54a4677a50f2fccbcc6afd02 (patch)
tree0e85b25f9c17d3ef59abc1b81bcd77b1c2d65c7e
parent3beb10747f229324fc8ad045347b6d1f6372dc31 (diff)
Rename LiveTvHost to RecordingsHost and move to recordings folder
-rw-r--r--Jellyfin.Server/Startup.cs2
-rw-r--r--src/Jellyfin.LiveTv/Recordings/RecordingsHost.cs (renamed from src/Jellyfin.LiveTv/EmbyTV/LiveTvHost.cs)10
2 files changed, 6 insertions, 6 deletions
diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.cs
index 51b34fd15..6728cd0b4 100644
--- a/Jellyfin.Server/Startup.cs
+++ b/Jellyfin.Server/Startup.cs
@@ -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>();
diff --git a/src/Jellyfin.LiveTv/EmbyTV/LiveTvHost.cs b/src/Jellyfin.LiveTv/Recordings/RecordingsHost.cs
index 18ff6a949..f4daa0975 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;