aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2026-05-05 17:57:27 +0000
committerJPVenson <github@jpb.email>2026-05-05 17:57:27 +0000
commitec054f6a345ab6407f39a95c3404b3d7651b2993 (patch)
tree9a8dcd563fac40f312ffe94d23bfc68940f204ec /src
parent4178e0ebaf2ff7162f474e17e27cd5bbbfafd548 (diff)
Backport changes from #15368
Diffstat (limited to 'src')
-rw-r--r--src/Jellyfin.LiveTv/LiveTvManager.cs4
-rw-r--r--src/Jellyfin.LiveTv/Recordings/RecordingNotifier.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Jellyfin.LiveTv/LiveTvManager.cs b/src/Jellyfin.LiveTv/LiveTvManager.cs
index 1d18ade9dc..2abc8a8c09 100644
--- a/src/Jellyfin.LiveTv/LiveTvManager.cs
+++ b/src/Jellyfin.LiveTv/LiveTvManager.cs
@@ -1204,7 +1204,7 @@ namespace Jellyfin.LiveTv
{
Services = services,
IsEnabled = services.Length > 0,
- EnabledUsers = _userManager.Users
+ EnabledUsers = _userManager.GetUsers()
.Where(IsLiveTvEnabled)
.Select(i => i.Id.ToString("N", CultureInfo.InvariantCulture))
.ToArray()
@@ -1220,7 +1220,7 @@ namespace Jellyfin.LiveTv
public IEnumerable<User> GetEnabledUsers()
{
- return _userManager.Users
+ return _userManager.GetUsers()
.Where(IsLiveTvEnabled);
}
diff --git a/src/Jellyfin.LiveTv/Recordings/RecordingNotifier.cs b/src/Jellyfin.LiveTv/Recordings/RecordingNotifier.cs
index a5d186ce18..4b0f63b041 100644
--- a/src/Jellyfin.LiveTv/Recordings/RecordingNotifier.cs
+++ b/src/Jellyfin.LiveTv/Recordings/RecordingNotifier.cs
@@ -79,7 +79,7 @@ namespace Jellyfin.LiveTv.Recordings
private async Task SendMessage(SessionMessageType name, TimerEventInfo info)
{
- var users = _userManager.Users
+ var users = _userManager.GetUsers()
.Where(i => i.HasPermission(PermissionKind.EnableLiveTvAccess))
.Select(i => i.Id)
.ToList();