From fb335141fb9cb2b2ed626e2ffb555fccb26b3edf Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 17 Jan 2014 15:51:29 -0500 Subject: display tv service version info --- MediaBrowser.Model/ApiClient/IApiClient.cs | 8 ++++++++ MediaBrowser.Model/LiveTv/LiveTvServiceInfo.cs | 18 ++++++++++++++++++ MediaBrowser.Model/LiveTv/ProgramInfoDto.cs | 6 ++++++ MediaBrowser.Model/LiveTv/RecordingInfoDto.cs | 10 ++++++++-- 4 files changed, 40 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Model') diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index cf90fb757..1e54e2dae 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -1017,6 +1017,14 @@ namespace MediaBrowser.Model.ApiClient /// The cancellation token. /// Task{QueryResult{ProgramInfoDto}}. Task> GetLiveTvProgramsAsync(ProgramQuery query, CancellationToken cancellationToken); + + /// + /// Gets the recommended live tv programs asynchronous. + /// + /// The query. + /// The cancellation token. + /// Task{QueryResult{ProgramInfoDto}}. + Task> GetRecommendedLiveTvProgramsAsync(RecommendedProgramQuery query, CancellationToken cancellationToken); /// /// Gets the live tv timer asynchronous. diff --git a/MediaBrowser.Model/LiveTv/LiveTvServiceInfo.cs b/MediaBrowser.Model/LiveTv/LiveTvServiceInfo.cs index dd2dc81bd..b54369ef5 100644 --- a/MediaBrowser.Model/LiveTv/LiveTvServiceInfo.cs +++ b/MediaBrowser.Model/LiveTv/LiveTvServiceInfo.cs @@ -14,6 +14,12 @@ namespace MediaBrowser.Model.LiveTv /// The name. public string Name { get; set; } + /// + /// Gets or sets the home page URL. + /// + /// The home page URL. + public string HomePageUrl { get; set; } + /// /// Gets or sets the status. /// @@ -25,6 +31,18 @@ namespace MediaBrowser.Model.LiveTv /// /// The status message. public string StatusMessage { get; set; } + + /// + /// Gets or sets the version. + /// + /// The version. + public string Version { get; set; } + + /// + /// Gets or sets a value indicating whether this instance has update available. + /// + /// true if this instance has update available; otherwise, false. + public bool HasUpdateAvailable { get; set; } } public class GuideInfo diff --git a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs index aeaf2c15b..9a29f1800 100644 --- a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs @@ -37,6 +37,12 @@ namespace MediaBrowser.Model.LiveTv /// The channel identifier. public string ChannelId { get; set; } + /// + /// Gets or sets the channel primary image tag. + /// + /// The channel primary image tag. + public Guid? ChannelPrimaryImageTag { get; set; } + /// /// Gets or sets the name of the channel. /// diff --git a/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs b/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs index 5076e9d02..2a95247ce 100644 --- a/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs @@ -1,8 +1,8 @@ -using System.ComponentModel; -using MediaBrowser.Model.Dto; +using MediaBrowser.Model.Dto; using MediaBrowser.Model.Entities; using System; using System.Collections.Generic; +using System.ComponentModel; namespace MediaBrowser.Model.LiveTv { @@ -36,6 +36,12 @@ namespace MediaBrowser.Model.LiveTv /// public string ChannelId { get; set; } + /// + /// Gets or sets the channel primary image tag. + /// + /// The channel primary image tag. + public Guid? ChannelPrimaryImageTag { get; set; } + /// /// ChannelName of the recording. /// -- cgit v1.2.3