jellyfin-server/MediaBrowser.Controller/LiveTv/SeriesTimerInfo.cs

120 lines
3.8 KiB
C#
Raw Normal View History

2013-12-23 03:46:03 +00:00
using System;
2013-12-01 16:09:05 +00:00
using System.Collections.Generic;
2016-09-26 18:59:18 +00:00
using MediaBrowser.Model.LiveTv;
2013-12-01 16:09:05 +00:00
namespace MediaBrowser.Controller.LiveTv
{
public class SeriesTimerInfo
{
/// <summary>
/// Id of the recording.
/// </summary>
public string Id { get; set; }
/// <summary>
/// ChannelId of the recording.
/// </summary>
public string ChannelId { get; set; }
2013-12-15 01:17:57 +00:00
2013-12-01 16:09:05 +00:00
/// <summary>
/// Gets or sets the program identifier.
/// </summary>
/// <value>The program identifier.</value>
public string ProgramId { get; set; }
2013-12-15 01:17:57 +00:00
2013-12-01 16:09:05 +00:00
/// <summary>
/// Name of the recording.
/// </summary>
public string Name { get; set; }
2016-10-01 07:06:00 +00:00
public string ServiceName { get; set; }
2013-12-01 16:09:05 +00:00
/// <summary>
/// Description of the recording.
/// </summary>
2013-12-15 01:17:57 +00:00
public string Overview { get; set; }
2013-12-01 16:09:05 +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>
2013-12-16 18:44:03 +00:00
/// Gets or sets a value indicating whether [record any time].
2013-12-01 16:09:05 +00:00
/// </summary>
2013-12-16 18:44:03 +00:00
/// <value><c>true</c> if [record any time]; otherwise, <c>false</c>.</value>
public bool RecordAnyTime { get; set; }
2013-12-01 16:09:05 +00:00
2013-12-16 18:44:03 +00:00
/// <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; }
2016-09-21 21:09:14 +00:00
public int KeepUpTo { get; set; }
2016-09-26 18:59:18 +00:00
public KeepUntil KeepUntil { get; set; }
2016-09-21 21:09:14 +00:00
public bool SkipEpisodesInLibrary { get; set; }
2013-12-16 18:44:03 +00:00
/// <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; }
2013-12-01 16:09:05 +00:00
/// <summary>
/// Gets or sets the days.
/// </summary>
/// <value>The days.</value>
public List<DayOfWeek> Days { get; set; }
2013-12-02 21:46:22 +00:00
/// <summary>
/// Gets or sets the priority.
/// </summary>
/// <value>The priority.</value>
public int Priority { get; set; }
2013-12-15 01:17:57 +00:00
/// <summary>
2013-12-18 05:44:46 +00:00
/// Gets or sets the pre padding seconds.
2013-12-15 01:17:57 +00:00
/// </summary>
2013-12-18 05:44:46 +00:00
/// <value>The pre padding seconds.</value>
public int PrePaddingSeconds { get; set; }
2013-12-15 01:17:57 +00:00
/// <summary>
2013-12-18 05:44:46 +00:00
/// Gets or sets the post padding seconds.
2013-12-15 01:17:57 +00:00
/// </summary>
2013-12-18 05:44:46 +00:00
/// <value>The post padding seconds.</value>
public int PostPaddingSeconds { get; set; }
2013-12-15 01:17:57 +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-15 01:17:57 +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-15 01:17:57 +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-15 01:17:57 +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; }
2015-08-11 17:47:29 +00:00
/// <summary>
/// Gets or sets the series identifier.
/// </summary>
/// <value>The series identifier.</value>
public string SeriesId { get; set; }
2013-12-15 01:17:57 +00:00
2013-12-01 16:09:05 +00:00
public SeriesTimerInfo()
{
Days = new List<DayOfWeek>();
2016-09-21 21:09:14 +00:00
SkipEpisodesInLibrary = true;
2016-09-26 18:59:18 +00:00
KeepUntil = KeepUntil.UntilDeleted;
2013-12-01 16:09:05 +00:00
}
}
}