mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-12 05:06:23 +00:00
updated nuget
This commit is contained in:
@@ -10,12 +10,6 @@ namespace MediaBrowser.Model.Channels
|
||||
/// <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 index all media.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance can index all media; otherwise, <c>false</c>.</value>
|
||||
public bool CanGetAllMedia { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media types.
|
||||
/// </summary>
|
||||
@@ -33,11 +27,39 @@ namespace MediaBrowser.Model.Channels
|
||||
/// </summary>
|
||||
public int? MaxPageSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the default sort orders.
|
||||
/// </summary>
|
||||
/// <value>The default sort orders.</value>
|
||||
public List<ChannelItemSortField> DefaultSortFields { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Indicates if a sort ascending/descending toggle is supported or not.
|
||||
/// </summary>
|
||||
public bool SupportsSortOrderToggle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the channel content is just a single media list.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is single media list; otherwise, <c>false</c>.</value>
|
||||
public bool IsSingleMediaList { get; set; }
|
||||
|
||||
public ChannelFeatures()
|
||||
{
|
||||
MediaTypes = new List<ChannelMediaType>();
|
||||
ContentTypes = new List<ChannelMediaContentType>();
|
||||
|
||||
DefaultSortFields = new List<ChannelItemSortField>();
|
||||
}
|
||||
}
|
||||
|
||||
public enum ChannelItemSortField
|
||||
{
|
||||
Name = 0,
|
||||
CommunityRating = 1,
|
||||
ReleaseDate = 2,
|
||||
Runtime = 3,
|
||||
CommunityMostWatched = 4,
|
||||
UserPlayCount = 5
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,4 +8,13 @@
|
||||
|
||||
Photo = 2
|
||||
}
|
||||
|
||||
public enum ChannelFolderType
|
||||
{
|
||||
Container = 0,
|
||||
|
||||
MusicAlbum = 1,
|
||||
|
||||
PhotoAlbum = 2
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user