jellyfin/MediaBrowser.Controller/LiveTv/TimerInfo.cs

119 lines
3.8 KiB
C#
Raw Normal View History

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