2013-10-31 13:45:58 -07:00
|
|
|
|
using System;
|
2013-11-02 14:38:21 -07:00
|
|
|
|
using System.Collections.Generic;
|
2013-10-31 13:45:58 -07:00
|
|
|
|
|
2013-11-25 13:39:23 -07:00
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
2013-10-31 13:45:58 -07:00
|
|
|
|
{
|
|
|
|
|
public class RecordingInfo
|
|
|
|
|
{
|
2013-11-02 14:38:21 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ChannelId of the recording.
|
|
|
|
|
/// </summary>
|
2013-10-31 13:45:58 -07:00
|
|
|
|
public string ChannelId { get; set; }
|
|
|
|
|
|
2013-11-02 14:38:21 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// ChannelName of the recording.
|
|
|
|
|
/// </summary>
|
2013-10-31 13:45:58 -07:00
|
|
|
|
public string ChannelName { get; set; }
|
|
|
|
|
|
2013-11-25 14:53:06 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the program identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The program identifier.</value>
|
|
|
|
|
public string ProgramId { get; set; }
|
|
|
|
|
|
2013-11-02 14:38:21 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the recording.
|
|
|
|
|
/// </summary>
|
2013-10-31 13:45:58 -07:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
2013-11-02 14:38:21 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Description of the recording.
|
|
|
|
|
/// </summary>
|
2013-10-31 13:45:58 -07:00
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-11-02 14:38:21 -07:00
|
|
|
|
/// The start date of the recording, in UTC.
|
2013-10-31 13:45:58 -07:00
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime StartDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-11-02 14:38:21 -07:00
|
|
|
|
/// The end date of the recording, in UTC.
|
2013-10-31 13:45:58 -07:00
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime EndDate { get; set; }
|
2013-11-02 14:38:21 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Status of the recording.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Status { get; set; } //TODO: Enum for status?? Difference NextPvr,Argus,...
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2013-11-25 14:53:06 -07:00
|
|
|
|
/// Gets or sets a value indicating whether this instance is recurring.
|
2013-11-02 14:38:21 -07:00
|
|
|
|
/// </summary>
|
2013-11-25 14:53:06 -07:00
|
|
|
|
/// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value>
|
|
|
|
|
public bool IsRecurring { get; set; }
|
2013-11-02 14:38:21 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Parent recurring.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RecurringParent { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Start date for the recurring, in UTC.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime RecurrringStartDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// End date for the recurring, in UTC
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime RecurringEndDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// When do we need the recording?
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<string> DayMask { get; set; }
|
2013-10-31 13:45:58 -07:00
|
|
|
|
}
|
2013-11-25 13:39:23 -07:00
|
|
|
|
}
|