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