2013-11-15 22:31:33 +01:00
|
|
|
|
using System;
|
2013-11-25 21:39:23 +01:00
|
|
|
|
using System.Collections.Generic;
|
2013-11-26 03:53:48 +01:00
|
|
|
|
using MediaBrowser.Model.LiveTv;
|
2013-11-15 22:31:33 +01:00
|
|
|
|
|
2013-11-25 21:39:23 +01:00
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
2013-11-15 22:31:33 +01:00
|
|
|
|
{
|
|
|
|
|
public class ProgramInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id of the program.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
2013-11-25 17:15:31 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the channel identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The channel identifier.</value>
|
|
|
|
|
public string ChannelId { get; set; }
|
|
|
|
|
|
2013-11-15 22:31:33 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the program
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
2013-11-26 03:53:48 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the official rating.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The official rating.</value>
|
|
|
|
|
public string OfficialRating { get; set; }
|
|
|
|
|
|
2013-11-15 22:31:33 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Description of the progam.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The start date of the program, in UTC.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime StartDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The end date of the program, in UTC.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime EndDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Genre of the program.
|
|
|
|
|
/// </summary>
|
2013-11-25 21:39:23 +01:00
|
|
|
|
public List<string> Genres { get; set; }
|
|
|
|
|
|
2013-11-26 03:53:48 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the quality.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The quality.</value>
|
|
|
|
|
public ProgramVideoQuality Quality { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the original air date.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The original air date.</value>
|
|
|
|
|
public DateTime? OriginalAirDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the audio.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The audio.</value>
|
|
|
|
|
public ProgramAudio Audio { get; set; }
|
|
|
|
|
|
2013-11-25 21:39:23 +01:00
|
|
|
|
public ProgramInfo()
|
|
|
|
|
{
|
|
|
|
|
Genres = new List<string>();
|
|
|
|
|
}
|
2013-11-15 22:31:33 +01:00
|
|
|
|
}
|
2013-11-25 21:39:23 +01:00
|
|
|
|
}
|