2014-08-14 06:24:30 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2015-11-06 08:02:22 -07:00
|
|
|
|
using MediaBrowser.Model.Configuration;
|
2014-12-19 23:06:27 -07:00
|
|
|
|
using MediaBrowser.Model.Users;
|
2014-08-14 06:24:30 -07:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
|
|
|
{
|
|
|
|
|
public class RecordingGroup : Folder
|
|
|
|
|
{
|
2014-12-19 23:06:27 -07:00
|
|
|
|
protected override bool GetBlockUnratedValue(UserPolicy config)
|
2014-08-14 06:24:30 -07:00
|
|
|
|
{
|
|
|
|
|
// Don't block.
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2015-11-06 08:02:22 -07:00
|
|
|
|
public override UnratedItem GetBlockUnratedType()
|
|
|
|
|
{
|
|
|
|
|
return UnratedItem.LiveTvProgram;
|
|
|
|
|
}
|
|
|
|
|
|
2014-08-14 06:24:30 -07:00
|
|
|
|
public override bool SupportsLocalMetadata
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|