From ca831ae88aaefb07f98d1a337792ea4af608fed0 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 15 Jan 2014 00:38:08 -0500 Subject: added live tv events --- MediaBrowser.Model/ApiClient/IApiClient.cs | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'MediaBrowser.Model/ApiClient') diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index c5b5311b2..55ca9edc7 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -2,6 +2,7 @@ using MediaBrowser.Model.Dto; using MediaBrowser.Model.Entities; using MediaBrowser.Model.Globalization; +using MediaBrowser.Model.LiveTv; using MediaBrowser.Model.Notifications; using MediaBrowser.Model.Plugins; using MediaBrowser.Model.Querying; @@ -748,6 +749,22 @@ namespace MediaBrowser.Model.ApiClient /// item string GetImageUrl(BaseItemDto item, ImageOptions options); + /// + /// Gets the image URL. + /// + /// The item. + /// The options. + /// System.String. + string GetImageUrl(ChannelInfoDto item, ImageOptions options); + + /// + /// Gets the image URL. + /// + /// The item. + /// The options. + /// System.String. + string GetImageUrl(RecordingInfoDto item, ImageOptions options); + /// /// Gets an image url that can be used to download an image from the api /// @@ -918,5 +935,36 @@ namespace MediaBrowser.Model.ApiClient /// System.String. /// options string GetHlsVideoStreamUrl(VideoStreamOptions options); + + /// + /// Gets the live tv information asynchronous. + /// + /// The cancellation token. + /// Task{LiveTvInfo}. + Task GetLiveTvInfoAsync(CancellationToken cancellationToken); + + /// + /// Gets the live tv channels asynchronous. + /// + /// The query. + /// The cancellation token. + /// Task{LiveTvInfo}. + Task> GetLiveTvChannelsAsync(ChannelQuery query, CancellationToken cancellationToken); + + /// + /// Gets the live tv recordings asynchronous. + /// + /// The query. + /// The cancellation token. + /// Task{QueryResult{RecordingInfoDto}}. + Task> GetLiveTvRecordingsAsync(RecordingQuery query, CancellationToken cancellationToken); + + /// + /// Gets the live tv recording groups asynchronous. + /// + /// The query. + /// The cancellation token. + /// Task{QueryResult{RecordingGroupDto}}. + Task> GetLiveTvRecordingGroupsAsync(RecordingGroupQuery query, CancellationToken cancellationToken); } } \ No newline at end of file -- cgit v1.2.3