2013-12-01 16:09:05 +00:00
|
|
|
|
using MediaBrowser.Model.LiveTv;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ChannelName of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ChannelName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the program identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The program identifier.</value>
|
|
|
|
|
public string ProgramId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Description of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <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 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 the type of the recurrence.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The type of the recurrence.</value>
|
|
|
|
|
public RecurrenceType RecurrenceType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <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-01 16:09:05 +00:00
|
|
|
|
public SeriesTimerInfo()
|
|
|
|
|
{
|
|
|
|
|
Days = new List<DayOfWeek>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|