mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-17 07:36:37 +00:00
added HasImage to live tv objects
This commit is contained in:
@@ -50,6 +50,8 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <value>The type of the channel.</value>
|
||||
public ChannelType ChannelType { get; set; }
|
||||
|
||||
public bool? HasProviderImage { get; set; }
|
||||
|
||||
protected override string CreateSortName()
|
||||
{
|
||||
double number = 0;
|
||||
|
||||
@@ -30,5 +30,11 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// </summary>
|
||||
/// <value>The type of the channel.</value>
|
||||
public ChannelType ChannelType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Set this value to true or false if it is known via channel 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.
|
||||
/// </summary>
|
||||
public bool? HasImage { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,6 +90,12 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// </summary>
|
||||
/// <value>The episode title.</value>
|
||||
public string EpisodeTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
public bool? HasImage { get; set; }
|
||||
|
||||
public ProgramInfo()
|
||||
{
|
||||
|
||||
@@ -107,6 +107,12 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <value>The community rating.</value>
|
||||
public float? CommunityRating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Set this value to true or false if it is known via recording 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.
|
||||
/// </summary>
|
||||
public bool? HasImage { get; set; }
|
||||
|
||||
public RecordingInfo()
|
||||
{
|
||||
Genres = new List<string>();
|
||||
|
||||
Reference in New Issue
Block a user