2013-11-15 21:31:33 +00:00
|
|
|
|
using System;
|
2013-11-25 20:39:23 +00:00
|
|
|
|
using System.Collections.Generic;
|
2013-12-15 01:17:57 +00:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2013-11-15 21:31:33 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.LiveTv
|
|
|
|
|
{
|
2013-11-25 20:39:23 +00:00
|
|
|
|
public class ProgramInfoDto
|
2013-11-15 21:31:33 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id of the program.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
2013-11-25 20:39:23 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the external identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The external identifier.</value>
|
|
|
|
|
public string ExternalId { get; set; }
|
|
|
|
|
|
2013-11-25 16:15:31 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the channel identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The channel identifier.</value>
|
|
|
|
|
public string ChannelId { get; set; }
|
|
|
|
|
|
2013-12-16 18:44:03 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the name of the channel.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The name of the channel.</value>
|
|
|
|
|
public string ChannelName { get; set; }
|
|
|
|
|
|
2013-11-26 16:22:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the community rating.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The community rating.</value>
|
|
|
|
|
public float? CommunityRating { get; set; }
|
2013-11-26 21:36:11 +00:00
|
|
|
|
|
2013-11-25 16:15:31 +00:00
|
|
|
|
/// <summary>
|
2013-11-26 21:36:11 +00:00
|
|
|
|
/// Gets or sets the aspect ratio.
|
2013-11-25 16:15:31 +00:00
|
|
|
|
/// </summary>
|
2013-11-26 21:36:11 +00:00
|
|
|
|
/// <value>The aspect ratio.</value>
|
|
|
|
|
public string AspectRatio { get; set; }
|
|
|
|
|
|
2013-11-26 02:53:48 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the official rating.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The official rating.</value>
|
|
|
|
|
public string OfficialRating { get; set; }
|
2013-11-25 16:15:31 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-11-25 20:39:23 +00:00
|
|
|
|
/// Gets or sets the name of the service.
|
2013-11-25 16:15:31 +00:00
|
|
|
|
/// </summary>
|
2013-11-25 20:39:23 +00:00
|
|
|
|
/// <value>The name of the service.</value>
|
|
|
|
|
public string ServiceName { get; set; }
|
|
|
|
|
|
2013-11-15 21:31:33 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the program
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-04 20:55:42 +00:00
|
|
|
|
/// Overview of the recording.
|
2013-11-15 21:31:33 +00:00
|
|
|
|
/// </summary>
|
2013-12-04 20:55:42 +00:00
|
|
|
|
public string Overview { get; set; }
|
2013-11-15 21:31:33 +00:00
|
|
|
|
|
|
|
|
|
/// <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 20:39:23 +00:00
|
|
|
|
public List<string> Genres { get; set; }
|
|
|
|
|
|
2013-11-26 02:53:48 +00:00
|
|
|
|
/// <summary>
|
2013-12-04 20:55:42 +00:00
|
|
|
|
/// Gets or sets a value indicating whether this instance is hd.
|
2013-11-26 02:53:48 +00:00
|
|
|
|
/// </summary>
|
2013-12-04 20:55:42 +00:00
|
|
|
|
/// <value><c>true</c> if this instance is hd; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool? IsHD { get; set; }
|
2013-11-26 02:53:48 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the audio.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The audio.</value>
|
2013-12-04 20:55:42 +00:00
|
|
|
|
public ProgramAudio? Audio { get; set; }
|
2013-11-26 02:53:48 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the original air date.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The original air date.</value>
|
|
|
|
|
public DateTime? OriginalAirDate { get; set; }
|
2013-11-26 21:36:11 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-02 21:46:22 +00:00
|
|
|
|
/// Gets or sets a value indicating whether this instance is repeat.
|
2013-11-26 21:36:11 +00:00
|
|
|
|
/// </summary>
|
2013-12-02 21:46:22 +00:00
|
|
|
|
/// <value><c>true</c> if this instance is repeat; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsRepeat { get; set; }
|
2013-11-26 21:36:11 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-02 21:46:22 +00:00
|
|
|
|
/// Gets or sets the episode title.
|
2013-11-26 21:36:11 +00:00
|
|
|
|
/// </summary>
|
2013-12-02 21:46:22 +00:00
|
|
|
|
/// <value>The episode title.</value>
|
|
|
|
|
public string EpisodeTitle { get; set; }
|
2013-11-27 02:38:11 +00:00
|
|
|
|
|
2013-12-15 01:17:57 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user data.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user data.</value>
|
|
|
|
|
public UserItemDataDto UserData { get; set; }
|
|
|
|
|
|
2013-11-25 20:39:23 +00:00
|
|
|
|
public ProgramInfoDto()
|
|
|
|
|
{
|
|
|
|
|
Genres = new List<string>();
|
|
|
|
|
}
|
2013-11-15 21:31:33 +00:00
|
|
|
|
}
|
2013-11-26 02:53:48 +00:00
|
|
|
|
|
|
|
|
|
public enum ProgramAudio
|
|
|
|
|
{
|
2013-12-14 15:49:11 +00:00
|
|
|
|
Mono,
|
|
|
|
|
Stereo,
|
|
|
|
|
Dolby,
|
|
|
|
|
DolbyDigital,
|
|
|
|
|
Thx
|
2013-11-26 02:53:48 +00:00
|
|
|
|
}
|
2013-11-15 21:31:33 +00:00
|
|
|
|
}
|