updated nuget

This commit is contained in:
Luke Pulverenti
2014-05-27 13:09:48 -04:00
parent 4c87979cac
commit 680ffeebf7
11 changed files with 79 additions and 21 deletions

View File

@@ -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
}
}

View File

@@ -8,4 +8,13 @@
Photo = 2
}
public enum ChannelFolderType
{
Container = 0,
MusicAlbum = 1,
PhotoAlbum = 2
}
}