mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-18 05:30:34 +01:00
Display specials within seasons
This commit is contained in:
23
MediaBrowser.Model/LiveTv/ChannelGuide.cs
Normal file
23
MediaBrowser.Model/LiveTv/ChannelGuide.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class ChannelGuide
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the service.
|
||||
/// </summary>
|
||||
/// <value>The name of the service.</value>
|
||||
public string ServiceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ChannelId for the EPG.
|
||||
/// </summary>
|
||||
public string ChannelId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// List of all the programs for a specific channel
|
||||
/// </summary>
|
||||
public List<ProgramInfo> Programs { get; set; }
|
||||
}
|
||||
}
|
||||
37
MediaBrowser.Model/LiveTv/ProgramInfo.cs
Normal file
37
MediaBrowser.Model/LiveTv/ProgramInfo.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
public class ProgramInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Id of the program.
|
||||
/// </summary>
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Name of the program
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Description of the progam.
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The start date of the program, in UTC.
|
||||
/// </summary>
|
||||
public DateTime StartDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The end date of the program, in UTC.
|
||||
/// </summary>
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Genre of the program.
|
||||
/// </summary>
|
||||
public string Genre { get; set; }
|
||||
}
|
||||
}
|
||||
14
MediaBrowser.Model/LiveTv/RecordingQuery.cs
Normal file
14
MediaBrowser.Model/LiveTv/RecordingQuery.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
/// <summary>
|
||||
/// Class RecordingQuery.
|
||||
/// </summary>
|
||||
public class RecordingQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance has recorded.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [has recorded] contains no value, <c>true</c> if [has recorded]; otherwise, <c>false</c>.</value>
|
||||
public bool? HasRecorded { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user