jellyfin/MediaBrowser.Controller/LiveTv/RecordingGroup.cs

37 lines
828 B
C#
Raw Normal View History

2016-03-19 06:04:38 +01:00
using System.Runtime.Serialization;
using MediaBrowser.Controller.Entities;
2015-11-06 16:02:22 +01:00
using MediaBrowser.Model.Configuration;
2014-12-20 07:06:27 +01:00
using MediaBrowser.Model.Users;
2014-08-14 15:24:30 +02:00
namespace MediaBrowser.Controller.LiveTv
{
public class RecordingGroup : Folder
{
2014-12-20 07:06:27 +01:00
protected override bool GetBlockUnratedValue(UserPolicy config)
2014-08-14 15:24:30 +02:00
{
// Don't block.
return false;
}
2015-11-06 16:02:22 +01:00
public override UnratedItem GetBlockUnratedType()
{
return UnratedItem.LiveTvProgram;
}
2014-08-14 15:24:30 +02:00
public override bool SupportsLocalMetadata
{
get
{
return false;
}
}
2016-03-19 06:04:38 +01:00
[IgnoreDataMember]
public override SourceType SourceType
{
get { return SourceType.LiveTV; }
set { }
}
2014-08-14 15:24:30 +02:00
}
}