Files
jellyfin-jellyfin-1/MediaBrowser.Controller/LiveTv/TimerInfo.cs

125 lines
3.9 KiB
C#
Raw Normal View History

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