using MediaBrowser.Model.LiveTv; using System; using System.Collections.Generic; namespace MediaBrowser.Controller.LiveTv { public class ProgramInfo { /// /// Id of the program. /// public string Id { get; set; } /// /// Gets or sets the channel identifier. /// /// The channel identifier. public string ChannelId { get; set; } /// /// Gets or sets the name of the channel. /// /// The name of the channel. public string ChannelName { get; set; } /// /// Name of the program /// public string Name { get; set; } /// /// Gets or sets the official rating. /// /// The official rating. public string OfficialRating { get; set; } /// /// Gets or sets the overview. /// /// The overview. public string Overview { get; set; } /// /// The start date of the program, in UTC. /// public DateTime StartDate { get; set; } /// /// The end date of the program, in UTC. /// public DateTime EndDate { get; set; } /// /// Gets or sets the aspect ratio. /// /// The aspect ratio. public string AspectRatio { get; set; } /// /// Genre of the program. /// public List Genres { get; set; } /// /// Gets or sets the original air date. /// /// The original air date. public DateTime? OriginalAirDate { get; set; } /// /// Gets or sets a value indicating whether this instance is hd. /// /// true if this instance is hd; otherwise, false. public bool? IsHD { get; set; } /// /// Gets or sets the audio. /// /// The audio. public ProgramAudio? Audio { get; set; } /// /// Gets or sets the community rating. /// /// The community rating. public float? CommunityRating { get; set; } /// /// Gets or sets a value indicating whether this instance is repeat. /// /// true if this instance is repeat; otherwise, false. public bool IsRepeat { get; set; } /// /// Gets or sets the episode title. /// /// The episode title. public string EpisodeTitle { get; set; } /// /// Set this value to true or false if it is known via program info whether there is an image or not. /// Leave it null if the only way to determine is by requesting the image and handling the failure. /// public bool? HasImage { get; set; } public ProgramInfo() { Genres = new List(); } } }