mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
42 lines
1,001 B
C#
42 lines
1,001 B
C#
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Model.Configuration;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Controller.Channels
|
|
{
|
|
public class ChannelFolderItem : Folder, IChannelItem
|
|
{
|
|
public string ExternalId { get; set; }
|
|
|
|
public string ChannelId { get; set; }
|
|
|
|
public ChannelItemType ChannelItemType { get; set; }
|
|
|
|
public string OriginalImageUrl { get; set; }
|
|
public List<string> Tags { get; set; }
|
|
|
|
protected override bool GetBlockUnratedValue(UserConfiguration config)
|
|
{
|
|
// Don't block.
|
|
return false;
|
|
}
|
|
|
|
public override bool SupportsLocalMetadata
|
|
{
|
|
get
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public ChannelFolderItem()
|
|
{
|
|
Tags = new List<string>();
|
|
}
|
|
|
|
public override string GetClientTypeName()
|
|
{
|
|
return "folder.channelItem";
|
|
}
|
|
}
|
|
}
|