mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-24 19:14:56 +01:00
added new item by name filters
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using System.IO;
|
||||
using MediaBrowser.Model.Dto;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using MediaBrowser.Model.Dto;
|
||||
|
||||
namespace MediaBrowser.Model.ApiClient
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// <summary>
|
||||
/// Class ChannelInfoDto
|
||||
/// </summary>
|
||||
public class ChannelInfoDto
|
||||
public class ChannelInfoDto : IItemDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
@@ -76,6 +76,18 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// <value>The now playing program.</value>
|
||||
public ProgramInfoDto CurrentProgram { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the primary image aspect ratio, after image enhancements.
|
||||
/// </summary>
|
||||
/// <value>The primary image aspect ratio.</value>
|
||||
public double? PrimaryImageAspectRatio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the primary image aspect ratio, before image enhancements.
|
||||
/// </summary>
|
||||
/// <value>The original primary image aspect ratio.</value>
|
||||
public double? OriginalPrimaryImageAspectRatio { get; set; }
|
||||
|
||||
public ChannelInfoDto()
|
||||
{
|
||||
ImageTags = new Dictionary<ImageType, Guid>();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
@@ -28,4 +29,24 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// <value>The end date.</value>
|
||||
public DateTime EndDate { get; set; }
|
||||
}
|
||||
|
||||
public class LiveTvInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the services.
|
||||
/// </summary>
|
||||
/// <value>The services.</value>
|
||||
public List<LiveTvServiceInfo> Services { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the active service.
|
||||
/// </summary>
|
||||
/// <value>The name of the active service.</value>
|
||||
public string ActiveServiceName { get; set; }
|
||||
|
||||
public LiveTvInfo()
|
||||
{
|
||||
Services = new List<LiveTvServiceInfo>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user