channel improvements
This commit is contained in:
@@ -39,6 +39,12 @@ namespace MediaBrowser.Model.Channels
|
||||
/// </summary>
|
||||
public int? MaxPageSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the automatic refresh levels.
|
||||
/// </summary>
|
||||
/// <value>The automatic refresh levels.</value>
|
||||
public int? AutoRefreshLevels { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the default sort orders.
|
||||
/// </summary>
|
||||
|
||||
@@ -12,6 +12,12 @@
|
||||
|
||||
Episode = 4,
|
||||
|
||||
Song = 5
|
||||
Song = 5,
|
||||
|
||||
MovieExtra = 6,
|
||||
|
||||
TvExtra = 7,
|
||||
|
||||
GameExtra = 8
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using MediaBrowser.Model.Querying;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Querying;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Channels
|
||||
@@ -68,11 +69,18 @@ namespace MediaBrowser.Model.Channels
|
||||
/// <value>The content types.</value>
|
||||
public ChannelMediaContentType[] ContentTypes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the extra types.
|
||||
/// </summary>
|
||||
/// <value>The extra types.</value>
|
||||
public ExtraType[] ExtraTypes { get; set; }
|
||||
|
||||
public AllChannelMediaQuery()
|
||||
{
|
||||
ChannelIds = new string[] { };
|
||||
|
||||
ContentTypes = new ChannelMediaContentType[] { };
|
||||
ExtraTypes = new ExtraType[] { };
|
||||
|
||||
Filters = new ItemFilter[] { };
|
||||
Fields = new List<ItemFields>();
|
||||
|
||||
Reference in New Issue
Block a user