2013-11-26 21:36:11 +00:00
|
|
|
|
using MediaBrowser.Model.LiveTv;
|
|
|
|
|
using System;
|
2016-09-20 19:42:53 +00:00
|
|
|
|
using System.Collections.Generic;
|
2013-11-26 21:36:11 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
|
|
|
{
|
|
|
|
|
public class TimerInfo
|
|
|
|
|
{
|
2016-09-20 19:42:53 +00:00
|
|
|
|
public TimerInfo()
|
|
|
|
|
{
|
|
|
|
|
Genres = new List<string>();
|
2016-09-27 05:13:56 +00:00
|
|
|
|
KeepUntil = KeepUntil.UntilDeleted;
|
2016-09-20 19:42:53 +00:00
|
|
|
|
}
|
|
|
|
|
|
2013-11-26 21:36:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
2013-11-30 06:49:38 +00:00
|
|
|
|
/// <summary>
|
2013-12-01 06:25:19 +00:00
|
|
|
|
/// Gets or sets the series timer identifier.
|
2013-11-30 06:49:38 +00:00
|
|
|
|
/// </summary>
|
2013-12-01 06:25:19 +00:00
|
|
|
|
/// <value>The series timer identifier.</value>
|
|
|
|
|
public string SeriesTimerId { get; set; }
|
2016-09-20 19:42:53 +00:00
|
|
|
|
|
2013-11-26 21:36:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// ChannelId of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChannelId { get; set; }
|
|
|
|
|
|
2013-11-29 16:58:24 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the program identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The program identifier.</value>
|
|
|
|
|
public string ProgramId { get; set; }
|
2016-09-20 19:42:53 +00:00
|
|
|
|
|
2016-11-24 16:29:23 +00:00
|
|
|
|
public string ShowId { get; set; }
|
|
|
|
|
|
2013-11-26 21:36:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Description of the recording.
|
|
|
|
|
/// </summary>
|
2013-12-13 04:06:38 +00:00
|
|
|
|
public string Overview { get; set; }
|
2013-11-26 21:36:11 +00:00
|
|
|
|
|
2016-12-18 02:35:21 +00:00
|
|
|
|
public string SeriesId { get; set; }
|
|
|
|
|
|
2013-11-26 21:36:11 +00: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 21:28:12 +00:00
|
|
|
|
/// <summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// Gets or sets the pre padding seconds.
|
2013-11-29 21:28:12 +00:00
|
|
|
|
/// </summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// <value>The pre padding seconds.</value>
|
|
|
|
|
public int PrePaddingSeconds { get; set; }
|
2013-11-29 21:28:12 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// Gets or sets the post padding seconds.
|
2013-11-29 21:28:12 +00:00
|
|
|
|
/// </summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// <value>The post padding seconds.</value>
|
|
|
|
|
public int PostPaddingSeconds { get; set; }
|
2013-12-04 20:55:42 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// Gets or sets a value indicating whether this instance is pre padding required.
|
2013-12-04 20:55:42 +00:00
|
|
|
|
/// </summary>
|
2013-12-18 05:44:46 +00: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 20:55:42 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-12-18 05:44:46 +00:00
|
|
|
|
/// Gets or sets a value indicating whether this instance is post padding required.
|
2013-12-04 20:55:42 +00:00
|
|
|
|
/// </summary>
|
2013-12-18 05:44:46 +00: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 19:42:53 +00:00
|
|
|
|
|
2017-02-20 07:04:03 +00:00
|
|
|
|
public bool IsManual { get; set; }
|
|
|
|
|
|
2013-12-17 06:08:06 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the priority.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The priority.</value>
|
|
|
|
|
public int Priority { get; set; }
|
2016-09-15 06:23:39 +00:00
|
|
|
|
|
2017-01-26 06:26:58 +00:00
|
|
|
|
public int RetryCount { get; set; }
|
2016-09-15 06:23:39 +00: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 12:55:49 +00:00
|
|
|
|
public bool IsNews { get; set; }
|
2017-08-23 19:45:52 +00:00
|
|
|
|
public bool IsSeries { get; set; }
|
|
|
|
|
public bool IsLive { get; set; }
|
|
|
|
|
public bool IsPremiere { get; set; }
|
2016-09-15 06:23:39 +00:00
|
|
|
|
public int? ProductionYear { get; set; }
|
|
|
|
|
public string EpisodeTitle { get; set; }
|
|
|
|
|
public DateTime? OriginalAirDate { get; set; }
|
|
|
|
|
public bool IsProgramSeries { get; set; }
|
2016-10-04 05:15:39 +00:00
|
|
|
|
public bool IsRepeat { get; set; }
|
2016-09-20 19:42:53 +00:00
|
|
|
|
public string HomePageUrl { get; set; }
|
|
|
|
|
public float? CommunityRating { get; set; }
|
|
|
|
|
public string OfficialRating { get; set; }
|
|
|
|
|
public List<string> Genres { get; set; }
|
2016-09-27 05:13:56 +00:00
|
|
|
|
public string RecordingPath { get; set; }
|
|
|
|
|
public KeepUntil KeepUntil { get; set; }
|
2013-11-26 21:36:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|