mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-30 05:46:30 +01:00
live tv updates
This commit is contained in:
@@ -36,7 +36,15 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// </summary>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{TimerInfo}.</returns>
|
||||
Task<TimerInfoDto> GetNewTimerDefaults(CancellationToken cancellationToken);
|
||||
Task<SeriesTimerInfoDto> GetNewTimerDefaults(CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the new timer defaults.
|
||||
/// </summary>
|
||||
/// <param name="programId">The program identifier.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{SeriesTimerInfoDto}.</returns>
|
||||
Task<SeriesTimerInfoDto> GetNewTimerDefaults(string programId, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Deletes the recording.
|
||||
|
||||
@@ -89,18 +89,19 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <summary>
|
||||
/// Gets the recording image asynchronous.
|
||||
/// </summary>
|
||||
/// <param name="channelId">The channel identifier.</param>
|
||||
/// <param name="recordingId">The recording identifier.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{ImageResponseInfo}.</returns>
|
||||
Task<ImageResponseInfo> GetRecordingImageAsync(string channelId, CancellationToken cancellationToken);
|
||||
Task<ImageResponseInfo> GetRecordingImageAsync(string recordingId, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the program image asynchronous.
|
||||
/// </summary>
|
||||
/// <param name="programId">The program identifier.</param>
|
||||
/// <param name="channelId">The channel identifier.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{ImageResponseInfo}.</returns>
|
||||
Task<ImageResponseInfo> GetProgramImageAsync(string channelId, CancellationToken cancellationToken);
|
||||
Task<ImageResponseInfo> GetProgramImageAsync(string programId, string channelId, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the recordings asynchronous.
|
||||
@@ -121,7 +122,7 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// </summary>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{TimerInfo}.</returns>
|
||||
Task<TimerInfo> GetNewTimerDefaultsAsync(CancellationToken cancellationToken);
|
||||
Task<SeriesTimerInfo> GetNewTimerDefaultsAsync(CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the series timers asynchronous.
|
||||
|
||||
@@ -102,6 +102,24 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// Leave it null if the only way to determine is by requesting the image and handling the failure.
|
||||
/// </summary>
|
||||
public bool? HasImage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is movie.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is movie; otherwise, <c>false</c>.</value>
|
||||
public bool IsMovie { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is sports.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is sports; otherwise, <c>false</c>.</value>
|
||||
public bool IsSports { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is series.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is series; otherwise, <c>false</c>.</value>
|
||||
public bool IsSeries { get; set; }
|
||||
|
||||
public ProgramInfo()
|
||||
{
|
||||
|
||||
@@ -78,28 +78,28 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
public int Priority { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the requested pre padding seconds.
|
||||
/// Gets or sets the pre padding seconds.
|
||||
/// </summary>
|
||||
/// <value>The requested pre padding seconds.</value>
|
||||
public int RequestedPrePaddingSeconds { get; set; }
|
||||
/// <value>The pre padding seconds.</value>
|
||||
public int PrePaddingSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the requested post padding seconds.
|
||||
/// Gets or sets the post padding seconds.
|
||||
/// </summary>
|
||||
/// <value>The requested post padding seconds.</value>
|
||||
public int RequestedPostPaddingSeconds { get; set; }
|
||||
/// <value>The post padding seconds.</value>
|
||||
public int PostPaddingSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the required pre padding seconds.
|
||||
/// Gets or sets a value indicating whether this instance is pre padding required.
|
||||
/// </summary>
|
||||
/// <value>The required pre padding seconds.</value>
|
||||
public int RequiredPrePaddingSeconds { get; set; }
|
||||
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
|
||||
public bool IsPrePaddingRequired { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the required post padding seconds.
|
||||
/// Gets or sets a value indicating whether this instance is post padding required.
|
||||
/// </summary>
|
||||
/// <value>The required post padding seconds.</value>
|
||||
public int RequiredPostPaddingSeconds { get; set; }
|
||||
/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
|
||||
public bool IsPostPaddingRequired { get; set; }
|
||||
|
||||
public SeriesTimerInfo()
|
||||
{
|
||||
|
||||
@@ -59,29 +59,29 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
public RecordingStatus Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the requested pre padding seconds.
|
||||
/// Gets or sets the pre padding seconds.
|
||||
/// </summary>
|
||||
/// <value>The requested pre padding seconds.</value>
|
||||
public int RequestedPrePaddingSeconds { get; set; }
|
||||
/// <value>The pre padding seconds.</value>
|
||||
public int PrePaddingSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the requested post padding seconds.
|
||||
/// Gets or sets the post padding seconds.
|
||||
/// </summary>
|
||||
/// <value>The requested post padding seconds.</value>
|
||||
public int RequestedPostPaddingSeconds { get; set; }
|
||||
/// <value>The post padding seconds.</value>
|
||||
public int PostPaddingSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the required pre padding seconds.
|
||||
/// Gets or sets a value indicating whether this instance is pre padding required.
|
||||
/// </summary>
|
||||
/// <value>The required pre padding seconds.</value>
|
||||
public int RequiredPrePaddingSeconds { get; set; }
|
||||
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
|
||||
public bool IsPrePaddingRequired { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the required post padding seconds.
|
||||
/// Gets or sets a value indicating whether this instance is post padding required.
|
||||
/// </summary>
|
||||
/// <value>The required post padding seconds.</value>
|
||||
public int RequiredPostPaddingSeconds { get; set; }
|
||||
|
||||
/// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
|
||||
public bool IsPostPaddingRequired { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the priority.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user