diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-05-06 18:02:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-06 18:02:30 +0200 |
| commit | 842a5efdcff98056b4bafd14e79d6a7802cff844 (patch) | |
| tree | 650552c5eb5b50a3f3f8d0d185b3614db1fedcb4 /src | |
| parent | e84fd95bcc88941033c4372f1f4a4304cc1514ed (diff) | |
| parent | ec054f6a345ab6407f39a95c3404b3d7651b2993 (diff) | |
Merge pull request #16782 from JPVenson/backport/15368
Fix UserManager after EFcore refactor (backport #15368)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Jellyfin.LiveTv/LiveTvManager.cs | 4 | ||||
| -rw-r--r-- | src/Jellyfin.LiveTv/Recordings/RecordingNotifier.cs | 2 |
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(); |
