From cd859ac2e6d499ce2cdf531058e64a4c3402910f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 19 Dec 2013 16:51:32 -0500 Subject: added IHasImages and IHasUserData --- MediaBrowser.Controller/LiveTv/ProgramInfo.cs | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'MediaBrowser.Controller/LiveTv/ProgramInfo.cs') diff --git a/MediaBrowser.Controller/LiveTv/ProgramInfo.cs b/MediaBrowser.Controller/LiveTv/ProgramInfo.cs index 15b55f50e..959f67740 100644 --- a/MediaBrowser.Controller/LiveTv/ProgramInfo.cs +++ b/MediaBrowser.Controller/LiveTv/ProgramInfo.cs @@ -98,10 +98,16 @@ namespace MediaBrowser.Controller.LiveTv public string EpisodeTitle { get; set; } /// - /// Set this value to true or false if it is known via program info whether there is an image or not. - /// Leave it null if the only way to determine is by requesting the image and handling the failure. + /// Supply the image path if it can be accessed directly from the file system /// - public bool? HasImage { get; set; } + /// The image path. + public string ImagePath { get; set; } + + /// + /// Supply the image url if it can be downloaded + /// + /// The image URL. + public string ImageUrl { get; set; } /// /// Gets or sets a value indicating whether this instance is movie. @@ -120,7 +126,13 @@ namespace MediaBrowser.Controller.LiveTv /// /// true if this instance is series; otherwise, false. public bool IsSeries { get; set; } - + + /// + /// Gets or sets a value indicating whether this instance is video. + /// + /// true if this instance is video; otherwise, false. + public bool IsVideo { get; set; } + public ProgramInfo() { Genres = new List(); -- cgit v1.2.3