jellyfin/MediaBrowser.Controller/LiveTv/RecordingGroup.cs

45 lines
993 B
C#
Raw Normal View History

2016-10-25 12:02:04 -07:00
using MediaBrowser.Model.Serialization;
2016-03-18 22:04:38 -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;
}
}
2016-03-18 22:04:38 -07:00
2017-06-29 12:10:58 -07:00
[IgnoreDataMember]
public override bool SupportsInheritedParentImages
{
get
{
return false;
}
}
2016-03-18 22:04:38 -07:00
[IgnoreDataMember]
public override SourceType SourceType
{
get { return SourceType.LiveTV; }
}
2014-08-14 06:24:30 -07:00
}
}