mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
28 lines
632 B
C#
28 lines
632 B
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Model.Configuration;
|
|
using MediaBrowser.Model.Users;
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
{
|
|
public class RecordingGroup : Folder
|
|
{
|
|
protected override bool GetBlockUnratedValue(UserPolicy config)
|
|
{
|
|
// Don't block.
|
|
return false;
|
|
}
|
|
|
|
public override UnratedItem GetBlockUnratedType()
|
|
{
|
|
return UnratedItem.LiveTvProgram;
|
|
}
|
|
|
|
public override bool SupportsLocalMetadata
|
|
{
|
|
get
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|