aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/Channel.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-03-19 01:14:47 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-03-19 01:14:47 -0400
commitf0c947851d00f245647ea0d22fb7ccd15f99f232 (patch)
tree667c243c1b81aeb740ed81553761ee86b2adc58e /MediaBrowser.Controller/Channels/Channel.cs
parent7b93b7a33c9c5d099759d6f9a9ca66c08029e94e (diff)
remove ChannelAudioItem
Diffstat (limited to 'MediaBrowser.Controller/Channels/Channel.cs')
-rw-r--r--MediaBrowser.Controller/Channels/Channel.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Channels/Channel.cs b/MediaBrowser.Controller/Channels/Channel.cs
index ff1bd7ff45..43f7b66374 100644
--- a/MediaBrowser.Controller/Channels/Channel.cs
+++ b/MediaBrowser.Controller/Channels/Channel.cs
@@ -83,5 +83,12 @@ namespace MediaBrowser.Controller.Channels
{
return false;
}
+
+ internal static bool IsChannelVisible(BaseItem channelItem, User user)
+ {
+ var channel = ChannelManager.GetChannel(channelItem.ChannelId);
+
+ return channel.IsVisible(user);
+ }
}
}