mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-08 00:39:25 +01:00
support deleting and canceling live tv recordings and timers
This commit is contained in:
@@ -10,4 +10,11 @@ namespace MediaBrowser.Model.LiveTv
|
||||
Conflicted,
|
||||
Deleted
|
||||
}
|
||||
|
||||
public enum RecurrenceType
|
||||
{
|
||||
Manual,
|
||||
NewProgramEvents,
|
||||
AllProgramEvents
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class TimerInfoDto
|
||||
{
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// Id of the recording.
|
||||
/// </summary>
|
||||
public string Id { get; set; }
|
||||
@@ -15,7 +14,7 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// </summary>
|
||||
/// <value>The external identifier.</value>
|
||||
public string ExternalId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ChannelId of the recording.
|
||||
/// </summary>
|
||||
@@ -26,6 +25,12 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// </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>
|
||||
@@ -57,16 +62,5 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value>
|
||||
public bool IsRecurring { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the recurring days.
|
||||
/// </summary>
|
||||
/// <value>The recurring days.</value>
|
||||
public List<DayOfWeek> RecurringDays { get; set; }
|
||||
|
||||
public TimerInfoDto()
|
||||
{
|
||||
RecurringDays = new List<DayOfWeek>();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class EpisodeQuery
|
||||
@@ -8,7 +7,9 @@ namespace MediaBrowser.Model.Querying
|
||||
|
||||
public string SeriesId { get; set; }
|
||||
|
||||
public LocationType[] ExcludeLocationTypes { get; set; }
|
||||
public bool? IsMissing { get; set; }
|
||||
|
||||
public bool? IsVirtualUnaired { get; set; }
|
||||
|
||||
public int? SeasonNumber { get; set; }
|
||||
|
||||
@@ -17,7 +18,6 @@ namespace MediaBrowser.Model.Querying
|
||||
public EpisodeQuery()
|
||||
{
|
||||
Fields = new ItemFields[] { };
|
||||
ExcludeLocationTypes = new LocationType[] { };
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,9 @@ namespace MediaBrowser.Model.Querying
|
||||
|
||||
public string SeriesId { get; set; }
|
||||
|
||||
public LocationType[] ExcludeLocationTypes { get; set; }
|
||||
public bool? IsMissing { get; set; }
|
||||
|
||||
public bool? IsVirtualUnaired { get; set; }
|
||||
|
||||
public ItemFields[] Fields { get; set; }
|
||||
|
||||
@@ -36,7 +38,6 @@ namespace MediaBrowser.Model.Querying
|
||||
public SeasonQuery()
|
||||
{
|
||||
Fields = new ItemFields[] { };
|
||||
ExcludeLocationTypes = new LocationType[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,6 +56,12 @@ namespace MediaBrowser.Model.Tasks
|
||||
/// <value>The category.</value>
|
||||
public string Category { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is hidden.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>
|
||||
public bool IsHidden { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TaskInfo"/> class.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user