set timer types
This commit is contained in:
parent
cf4f5039bf
commit
9e5030f396
|
@ -10,6 +10,8 @@ namespace MediaBrowser.Model.LiveTv
|
|||
/// </summary>
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the server identifier.
|
||||
/// </summary>
|
||||
|
|
|
@ -12,6 +12,13 @@ namespace MediaBrowser.Model.LiveTv
|
|||
[DebuggerDisplay("Name = {Name}")]
|
||||
public class SeriesTimerInfoDto : BaseTimerInfoDto
|
||||
{
|
||||
public SeriesTimerInfoDto()
|
||||
{
|
||||
ImageTags = new Dictionary<ImageType, string>();
|
||||
Days = new List<DayOfWeek>();
|
||||
Type = "SeriesTimer";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [record any time].
|
||||
/// </summary>
|
||||
|
@ -61,12 +68,6 @@ namespace MediaBrowser.Model.LiveTv
|
|||
{
|
||||
get { return ImageTags != null && ImageTags.ContainsKey(ImageType.Primary); }
|
||||
}
|
||||
|
||||
public SeriesTimerInfoDto()
|
||||
{
|
||||
ImageTags = new Dictionary<ImageType, string>();
|
||||
Days = new List<DayOfWeek>();
|
||||
}
|
||||
}
|
||||
|
||||
public enum KeepUntil
|
||||
|
|
|
@ -27,8 +27,6 @@ namespace MediaBrowser.Model.LiveTv
|
|||
/// <value>The external series timer identifier.</value>
|
||||
public string ExternalSeriesTimerId { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the run time ticks.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user