aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/LiveTv
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-10 13:36:06 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-10 13:36:06 -0400
commit437062b29e3e3456c15659666d6015356695913c (patch)
tree897d3aceed4225203b0343c311edf5fb0c58e5cd /MediaBrowser.Server.Implementations/LiveTv
parent5d08aa39a9606886884f0b3f0c6b93c87d321111 (diff)
switch to subtitle filter
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv')
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
index 625dd7e82d..a555e1f9c8 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
@@ -1734,6 +1734,14 @@ namespace MediaBrowser.Server.Implementations.LiveTv
return info;
}
+ public IEnumerable<User> GetEnabledUsers()
+ {
+ var service = ActiveService;
+
+ return _userManager.Users
+ .Where(i => i.Configuration.EnableLiveTvAccess && service != null);
+ }
+
/// <summary>
/// Resets the tuner.
/// </summary>