set timer types

pull/702/head
Luke Pulverenti 8 years ago
parent cf4f5039bf
commit 9e5030f396

@ -10,6 +10,8 @@ namespace MediaBrowser.Model.LiveTv
/// </summary> /// </summary>
public string Id { get; set; } public string Id { get; set; }
public string Type { get; set; }
/// <summary> /// <summary>
/// Gets or sets the server identifier. /// Gets or sets the server identifier.
/// </summary> /// </summary>

@ -12,6 +12,13 @@ namespace MediaBrowser.Model.LiveTv
[DebuggerDisplay("Name = {Name}")] [DebuggerDisplay("Name = {Name}")]
public class SeriesTimerInfoDto : BaseTimerInfoDto public class SeriesTimerInfoDto : BaseTimerInfoDto
{ {
public SeriesTimerInfoDto()
{
ImageTags = new Dictionary<ImageType, string>();
Days = new List<DayOfWeek>();
Type = "SeriesTimer";
}
/// <summary> /// <summary>
/// Gets or sets a value indicating whether [record any time]. /// Gets or sets a value indicating whether [record any time].
/// </summary> /// </summary>
@ -61,12 +68,6 @@ namespace MediaBrowser.Model.LiveTv
{ {
get { return ImageTags != null && ImageTags.ContainsKey(ImageType.Primary); } get { return ImageTags != null && ImageTags.ContainsKey(ImageType.Primary); }
} }
public SeriesTimerInfoDto()
{
ImageTags = new Dictionary<ImageType, string>();
Days = new List<DayOfWeek>();
}
} }
public enum KeepUntil public enum KeepUntil

@ -27,8 +27,6 @@ namespace MediaBrowser.Model.LiveTv
/// <value>The external series timer identifier.</value> /// <value>The external series timer identifier.</value>
public string ExternalSeriesTimerId { get; set; } public string ExternalSeriesTimerId { get; set; }
public string Type { get; set; }
/// <summary> /// <summary>
/// Gets or sets the run time ticks. /// Gets or sets the run time ticks.
/// </summary> /// </summary>

Loading…
Cancel
Save