jellyfin/MediaBrowser.Controller/Channels/ChannelAudioItem.cs

35 lines
893 B
C#
Raw Normal View History

2014-05-02 21:20:04 -07:00
using System.Linq;
using MediaBrowser.Controller.Entities.Audio;
using MediaBrowser.Model.Configuration;
2014-03-17 18:45:41 -07:00
namespace MediaBrowser.Controller.Channels
{
2014-03-18 18:35:40 -07:00
public class ChannelAudioItem : Audio, IChannelMediaItem
2014-03-17 18:45:41 -07:00
{
public string ExternalId { get; set; }
2014-05-04 17:46:52 -07:00
public string ChannelId { get; set; }
2014-03-17 18:45:41 -07:00
public ChannelItemType ChannelItemType { get; set; }
public bool IsInfiniteStream { get; set; }
public ChannelMediaContentType ContentType { get; set; }
public string OriginalImageUrl { get; set; }
2014-05-02 21:20:04 -07:00
protected override bool GetBlockUnratedValue(UserConfiguration config)
{
return config.BlockUnratedItems.Contains(UnratedItem.ChannelContent);
}
public override bool SupportsLocalMetadata
{
get
{
return false;
}
}
2014-03-17 18:45:41 -07:00
}
}