mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 11:13:32 +01:00
add channel downloading settings
This commit is contained in:
@@ -4,12 +4,30 @@ namespace MediaBrowser.Model.Channels
|
||||
{
|
||||
public class ChannelFeatures
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the identifier.
|
||||
/// </summary>
|
||||
/// <value>The identifier.</value>
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance can search.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance can search; otherwise, <c>false</c>.</value>
|
||||
public bool CanSearch { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance can get all media.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance can get all media; otherwise, <c>false</c>.</value>
|
||||
public bool CanGetAllMedia { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media types.
|
||||
/// </summary>
|
||||
@@ -44,6 +62,12 @@ namespace MediaBrowser.Model.Channels
|
||||
/// <value><c>true</c> if this instance can filter; otherwise, <c>false</c>.</value>
|
||||
public bool CanFilter { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance can download all media.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance can download all media; otherwise, <c>false</c>.</value>
|
||||
public bool CanDownloadAllMedia { get; set; }
|
||||
|
||||
public ChannelFeatures()
|
||||
{
|
||||
MediaTypes = new List<ChannelMediaType>();
|
||||
|
||||
Reference in New Issue
Block a user