jellyfin/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs

95 lines
2.9 KiB
C#
Raw Normal View History

2014-03-23 22:21:49 +00:00
using MediaBrowser.Model.Entities;
using System;
2013-12-15 01:17:57 +00:00
using System.Collections.Generic;
2014-01-18 10:03:47 +00:00
using System.Diagnostics;
2016-10-22 02:08:34 +00:00
using MediaBrowser.Model.Serialization;
2013-12-15 01:17:57 +00:00
namespace MediaBrowser.Model.LiveTv
{
2015-08-16 20:26:49 +00:00
/// <summary>
/// Class SeriesTimerInfoDto.
/// </summary>
2014-01-18 10:03:47 +00:00
[DebuggerDisplay("Name = {Name}")]
2014-03-23 22:21:49 +00:00
public class SeriesTimerInfoDto : BaseTimerInfoDto
2013-12-15 01:17:57 +00:00
{
2016-10-03 00:43:09 +00:00
public SeriesTimerInfoDto()
{
ImageTags = new Dictionary<ImageType, string>();
2017-08-19 19:43:35 +00:00
Days = new DayOfWeek[] { };
2016-10-03 00:43:09 +00:00
Type = "SeriesTimer";
}
2013-12-15 01:17:57 +00:00
/// <summary>
2013-12-16 18:44:03 +00:00
/// Gets or sets a value indicating whether [record any time].
2013-12-15 01:17:57 +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; }
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 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; }
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-15 01:17:57 +00:00
/// <summary>
/// Gets or sets the days.
/// </summary>
/// <value>The days.</value>
2017-08-19 19:43:35 +00:00
public DayOfWeek[] Days { get; set; }
2013-12-15 01:17:57 +00:00
/// <summary>
/// Gets or sets the day pattern.
/// </summary>
/// <value>The day pattern.</value>
public DayPattern? DayPattern { get; set; }
2014-01-20 19:55:49 +00:00
/// <summary>
/// Gets or sets the image tags.
/// </summary>
/// <value>The image tags.</value>
2014-05-08 20:09:53 +00:00
public Dictionary<ImageType, string> ImageTags { get; set; }
2014-01-20 19:55:49 +00:00
2016-10-09 07:18:43 +00:00
/// <summary>
/// Gets or sets the parent thumb item id.
/// </summary>
/// <value>The parent thumb item id.</value>
public string ParentThumbItemId { get; set; }
/// <summary>
/// Gets or sets the parent thumb image tag.
/// </summary>
/// <value>The parent thumb image tag.</value>
public string ParentThumbImageTag { get; set; }
/// <summary>
/// Gets or sets the parent primary image item identifier.
/// </summary>
/// <value>The parent primary image item identifier.</value>
public string ParentPrimaryImageItemId { get; set; }
/// <summary>
/// Gets or sets the parent primary image tag.
/// </summary>
/// <value>The parent primary image tag.</value>
public string ParentPrimaryImageTag { get; set; }
2013-12-15 01:17:57 +00:00
}
2016-09-26 18:59:18 +00:00
public enum KeepUntil
{
UntilDeleted,
UntilSpaceNeeded,
UntilWatched,
UntilDate
}
2013-12-15 01:17:57 +00:00
}