diff options
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/LiveTv/ILiveTvService.cs | 12 | ||||
| -rw-r--r-- | MediaBrowser.Controller/LiveTv/ImageResponseInfo.cs | 6 |
2 files changed, 16 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/LiveTv/ILiveTvService.cs b/MediaBrowser.Controller/LiveTv/ILiveTvService.cs index a6c60d468d..de75ee7528 100644 --- a/MediaBrowser.Controller/LiveTv/ILiveTvService.cs +++ b/MediaBrowser.Controller/LiveTv/ILiveTvService.cs @@ -72,12 +72,20 @@ namespace MediaBrowser.Controller.LiveTv Task<ImageResponseInfo> GetChannelImageAsync(string channelId, CancellationToken cancellationToken); /// <summary> + /// Gets the recording image asynchronous. + /// </summary> + /// <param name="channelId">The channel identifier.</param> + /// <param name="cancellationToken">The cancellation token.</param> + /// <returns>Task{ImageResponseInfo}.</returns> + Task<ImageResponseInfo> GetRecordingImageAsync(string channelId, 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 programId, CancellationToken cancellationToken); + Task<ImageResponseInfo> GetProgramImageAsync(string channelId, CancellationToken cancellationToken); /// <summary> /// Gets the recordings asynchronous. diff --git a/MediaBrowser.Controller/LiveTv/ImageResponseInfo.cs b/MediaBrowser.Controller/LiveTv/ImageResponseInfo.cs index d454a1ef8d..6b6123e540 100644 --- a/MediaBrowser.Controller/LiveTv/ImageResponseInfo.cs +++ b/MediaBrowser.Controller/LiveTv/ImageResponseInfo.cs @@ -15,5 +15,11 @@ namespace MediaBrowser.Controller.LiveTv /// </summary> /// <value>The type of the MIME.</value> public string MimeType { get; set; } + + /// <summary> + /// Gets or sets the image path. + /// </summary> + /// <value>The image path.</value> + public string ImagePath { get; set; } } } |
