2013-11-26 14:36:11 -07:00
|
|
|
|
using MediaBrowser.Model.LiveTv;
|
|
|
|
|
using System;
|
2016-09-20 12:42:53 -07:00
|
|
|
|
using System.Collections.Generic;
|
2013-11-26 14:36:11 -07:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
|
|
|
{
|
|
|
|
|
public class TimerInfo
|
|
|
|
|
{
|
2016-09-20 12:42:53 -07:00
|
|
|
|
public TimerInfo()
|
|
|
|
|
{
|
|
|
|
|
Genres = new List<string>();
|
2016-09-26 22:13:56 -07:00
|
|
|
|
KeepUntil = KeepUntil.UntilDeleted;
|
2016-09-20 12:42:53 -07:00
|
|
|
|
}
|
|
|
|
|
|
2013-11-26 14:36:11 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
2013-11-29 23:49:38 -07:00
|
|
|
|
/// <summary>
|
2013-11-30 23:25:19 -07:00
|
|
|
|
/// Gets or sets the series timer identifier.
|
2013-11-29 23:49:38 -07:00
|
|
|
|
/// </summary>
|
2013-11-30 23:25:19 -07:00
|
|
|
|
/// <value>The series timer identifier.</value>
|
|
|
|
|
public string SeriesTimerId { get; set; }
|
2016-09-20 12:42:53 -07:00
|
|
|
|
|
2013-11-26 14:36:11 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// ChannelId of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChannelId { get; set; }
|
|
|
|
|
|
2013-11-29 09:58:24 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the program identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The program identifier.</value>
|
|
|
|
|
public string ProgramId { get; set; }
|
2016-09-20 12:42:53 -07:00
|
|
|
|
|
2013-11-26 14:36:11 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Description of the recording.
|
|
|
|
|
/// </summary>
|
2013-12-12 21:06:38 -07:00
|
|
|
|
public string Overview { get; set; }
|
2013-11-26 14:36:11 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The start date of the recording, in UTC.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime StartDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The end date of the recording, in UTC.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime EndDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the status.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The status.</value>
|
|
|
|
|
public RecordingStatus Status { get; set; }
|
|
|
|
|
|
2013-11-29 14:28:12 -07:00
|
|
|
|
/// <summary>
|
2013-12-17 22:44:46 -07:00
|
|
|
|
/// Gets or sets the pre padding seconds.
|
2013-11-29 14:28:12 -07:00
|
|
|
|
/// </summary>
|
2013-12-17 22:44:46 -07:00
|
|
|
|
/// <value>The pre padding seconds.</value>
|
|
|
|
|
public int PrePaddingSeconds { get; set; }
|
2013-11-29 14:28:12 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-17 22:44:46 -07:00
|
|
|
|
/// Gets or sets the post padding seconds.
|
2013-11-29 14:28:12 -07:00
|
|
|
|
/// </summary>
|
2013-12-17 22:44:46 -07:00
|
|
|
|
/// <value>The post padding seconds.</value>
|
|
|
|
|
public int PostPaddingSeconds { get; set; }
|
2013-12-04 13:55:42 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-17 22:44:46 -07:00
|
|
|
|
/// Gets or sets a value indicating whether this instance is pre padding required.
|
2013-12-04 13:55:42 -07:00
|
|
|
|
/// </summary>
|
2013-12-17 22:44:46 -07:00
|
|
|
|
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsPrePaddingRequired { get; set; }
|
2013-12-04 13:55:42 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-17 22:44:46 -07:00
|
|
|
|
/// Gets or sets a value indicating whether this instance is post padding required.
|
2013-12-04 13:55:42 -07:00
|
|
|
|
/// </summary>
|
2013-12-17 22:44:46 -07:00
|
|
|
|
/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsPostPaddingRequired { get; set; }
|
2016-09-20 12:42:53 -07:00
|
|
|
|
|
2013-12-16 23:08:06 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the priority.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The priority.</value>
|
|
|
|
|
public int Priority { get; set; }
|
2016-09-14 23:23:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Program properties
|
|
|
|
|
public int? SeasonNumber { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the episode number.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The episode number.</value>
|
|
|
|
|
public int? EpisodeNumber { get; set; }
|
|
|
|
|
public bool IsMovie { get; set; }
|
|
|
|
|
public bool IsKids { get; set; }
|
|
|
|
|
public bool IsSports { get; set; }
|
2016-09-29 05:55:49 -07:00
|
|
|
|
public bool IsNews { get; set; }
|
2016-09-14 23:23:39 -07:00
|
|
|
|
public int? ProductionYear { get; set; }
|
|
|
|
|
public string EpisodeTitle { get; set; }
|
|
|
|
|
public DateTime? OriginalAirDate { get; set; }
|
|
|
|
|
public bool IsProgramSeries { get; set; }
|
2016-10-03 22:15:39 -07:00
|
|
|
|
public bool IsRepeat { get; set; }
|
2016-09-20 12:42:53 -07:00
|
|
|
|
public string HomePageUrl { get; set; }
|
|
|
|
|
public float? CommunityRating { get; set; }
|
|
|
|
|
public string ShortOverview { get; set; }
|
|
|
|
|
public string OfficialRating { get; set; }
|
|
|
|
|
public List<string> Genres { get; set; }
|
2016-09-26 22:13:56 -07:00
|
|
|
|
public string RecordingPath { get; set; }
|
|
|
|
|
public KeepUntil KeepUntil { get; set; }
|
2013-11-26 14:36:11 -07:00
|
|
|
|
}
|
|
|
|
|
}
|