2021-05-06 22:39:20 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2020-08-22 19:56:24 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using MediaBrowser.Model.LiveTv;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
|
|
{
|
|
|
|
public class SeriesTimerInfo
|
|
|
|
{
|
2021-05-11 11:55:46 +00:00
|
|
|
public SeriesTimerInfo()
|
|
|
|
{
|
|
|
|
Days = new List<DayOfWeek>();
|
|
|
|
SkipEpisodesInLibrary = true;
|
|
|
|
KeepUntil = KeepUntil.UntilDeleted;
|
|
|
|
}
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
2021-05-11 11:55:46 +00:00
|
|
|
/// Gets or sets the id of the recording.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2021-05-11 11:55:46 +00:00
|
|
|
/// Gets or sets the channelId of the recording.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public string ChannelId { get; set; }
|
2019-01-07 23:27:46 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the program identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The program identifier.</value>
|
|
|
|
public string ProgramId { get; set; }
|
2019-01-07 23:27:46 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
2021-05-11 11:55:46 +00:00
|
|
|
/// Gets or sets the name of the recording.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
2021-05-11 11:55:46 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the service name.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
public string ServiceName { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2021-05-11 11:55:46 +00:00
|
|
|
/// Gets or sets the description of the recording.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public string Overview { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2021-05-11 11:55:46 +00:00
|
|
|
/// Gets or sets the start date of the recording, in UTC.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public DateTime StartDate { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2021-05-11 11:55:46 +00:00
|
|
|
/// Gets or sets the end date of the recording, in UTC.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public DateTime EndDate { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether [record any time].
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if [record any time]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool RecordAnyTime { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether [record any channel].
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if [record any channel]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool RecordAnyChannel { get; set; }
|
|
|
|
|
|
|
|
public int KeepUpTo { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public KeepUntil KeepUntil { get; set; }
|
|
|
|
|
|
|
|
public bool SkipEpisodesInLibrary { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether [record new only].
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if [record new only]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool RecordNewOnly { get; set; }
|
2019-01-07 23:27:46 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the days.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The days.</value>
|
|
|
|
public List<DayOfWeek> Days { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the priority.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The priority.</value>
|
|
|
|
public int Priority { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the pre padding seconds.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The pre padding seconds.</value>
|
|
|
|
public int PrePaddingSeconds { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the post padding seconds.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The post padding seconds.</value>
|
|
|
|
public int PostPaddingSeconds { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this instance is pre padding required.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
|
|
|
|
public bool IsPrePaddingRequired { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this instance is post padding required.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
|
|
|
|
public bool IsPostPaddingRequired { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the series identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The series identifier.</value>
|
|
|
|
public string SeriesId { get; set; }
|
|
|
|
}
|
|
|
|
}
|