2014-03-09 15:14:44 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2014-05-19 12:51:56 -07:00
|
|
|
|
using MediaBrowser.Model.Channels;
|
2014-03-17 18:45:41 -07:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
using System;
|
2014-03-09 15:14:44 -07:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Channels
|
|
|
|
|
{
|
2014-03-17 18:45:41 -07:00
|
|
|
|
public class ChannelItemInfo : IHasProviderIds
|
2014-03-09 15:14:44 -07:00
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
2014-07-07 18:41:03 -07:00
|
|
|
|
public string SeriesName { get; set; }
|
|
|
|
|
|
2014-03-09 15:14:44 -07:00
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public ChannelItemType Type { get; set; }
|
|
|
|
|
|
|
|
|
|
public string OfficialRating { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Overview { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<string> Genres { get; set; }
|
2014-05-02 21:20:04 -07:00
|
|
|
|
public List<string> Studios { get; set; }
|
2014-05-18 12:58:42 -07:00
|
|
|
|
public List<string> Tags { get; set; }
|
2014-03-09 15:14:44 -07:00
|
|
|
|
|
|
|
|
|
public List<PersonInfo> People { get; set; }
|
2014-09-28 13:49:43 -07:00
|
|
|
|
|
2014-03-09 15:14:44 -07:00
|
|
|
|
public float? CommunityRating { get; set; }
|
|
|
|
|
|
|
|
|
|
public long? RunTimeTicks { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ImageUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
public ChannelMediaType MediaType { get; set; }
|
2014-05-27 10:09:48 -07:00
|
|
|
|
public ChannelFolderType FolderType { get; set; }
|
2014-03-09 15:14:44 -07:00
|
|
|
|
|
|
|
|
|
public ChannelMediaContentType ContentType { get; set; }
|
2014-09-28 08:27:26 -07:00
|
|
|
|
public ExtraType ExtraType { get; set; }
|
2014-09-28 13:49:43 -07:00
|
|
|
|
public List<TrailerType> TrailerTypes { get; set; }
|
2014-03-17 18:45:41 -07:00
|
|
|
|
|
|
|
|
|
public Dictionary<string, string> ProviderIds { get; set; }
|
2014-03-18 10:05:57 -07:00
|
|
|
|
|
|
|
|
|
public DateTime? PremiereDate { get; set; }
|
|
|
|
|
public int? ProductionYear { get; set; }
|
|
|
|
|
|
2014-05-02 21:20:04 -07:00
|
|
|
|
public DateTime? DateCreated { get; set; }
|
2014-07-07 18:41:03 -07:00
|
|
|
|
|
|
|
|
|
public int? IndexNumber { get; set; }
|
|
|
|
|
public int? ParentIndexNumber { get; set; }
|
|
|
|
|
|
2014-05-02 21:20:04 -07:00
|
|
|
|
public List<ChannelMediaInfo> MediaSources { get; set; }
|
2014-07-07 18:41:03 -07:00
|
|
|
|
|
|
|
|
|
public bool IsInfiniteStream { get; set; }
|
|
|
|
|
|
2016-06-11 22:03:52 -07:00
|
|
|
|
public string HomePageUrl { get; set; }
|
|
|
|
|
|
2014-03-09 15:14:44 -07:00
|
|
|
|
public ChannelItemInfo()
|
|
|
|
|
{
|
2014-05-02 21:20:04 -07:00
|
|
|
|
MediaSources = new List<ChannelMediaInfo>();
|
2014-09-28 13:49:43 -07:00
|
|
|
|
TrailerTypes = new List<TrailerType>();
|
2014-03-09 15:14:44 -07:00
|
|
|
|
Genres = new List<string>();
|
2014-05-02 21:20:04 -07:00
|
|
|
|
Studios = new List<string>();
|
2014-03-09 15:14:44 -07:00
|
|
|
|
People = new List<PersonInfo>();
|
2014-05-18 12:58:42 -07:00
|
|
|
|
Tags = new List<string>();
|
2014-03-17 18:45:41 -07:00
|
|
|
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
2014-03-09 15:14:44 -07:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|