diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-05-03 00:20:04 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-05-03 00:20:04 -0400 |
| commit | 6936336b82467d3d8ea53af89bd5abcf7cdea678 (patch) | |
| tree | f11a0cd9443193d60260088ca2220e5fb46fcea0 /MediaBrowser.Controller/Channels/ChannelAudioItem.cs | |
| parent | 3228f50895d52afb97e985d8223ffc062a75c69a (diff) | |
add channels infrastructure
Diffstat (limited to 'MediaBrowser.Controller/Channels/ChannelAudioItem.cs')
| -rw-r--r-- | MediaBrowser.Controller/Channels/ChannelAudioItem.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Channels/ChannelAudioItem.cs b/MediaBrowser.Controller/Channels/ChannelAudioItem.cs index 6f3398f52..a0999593f 100644 --- a/MediaBrowser.Controller/Channels/ChannelAudioItem.cs +++ b/MediaBrowser.Controller/Channels/ChannelAudioItem.cs @@ -1,4 +1,6 @@ -using MediaBrowser.Controller.Entities.Audio; +using System.Linq; +using MediaBrowser.Controller.Entities.Audio; +using MediaBrowser.Model.Configuration; namespace MediaBrowser.Controller.Channels { @@ -13,5 +15,18 @@ namespace MediaBrowser.Controller.Channels public ChannelMediaContentType ContentType { get; set; } public string OriginalImageUrl { get; set; } + + protected override bool GetBlockUnratedValue(UserConfiguration config) + { + return config.BlockUnratedItems.Contains(UnratedItem.ChannelContent); + } + + public override bool SupportsLocalMetadata + { + get + { + return false; + } + } } } |
