Display specials within seasons

This commit is contained in:
Luke Pulverenti
2013-11-15 16:31:33 -05:00
parent cc16fd3af8
commit a09e330d4e
12 changed files with 172 additions and 4 deletions

View File

@@ -30,6 +30,12 @@ namespace MediaBrowser.Model.Dto
/// <value>The date created.</value>
public DateTime? DateCreated { get; set; }
/// <summary>
/// Gets or sets the special season number.
/// </summary>
/// <value>The special season number.</value>
public int? SpecialSeasonNumber { get; set; }
/// <summary>
/// Gets or sets the name of the sort.
/// </summary>

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View File

@@ -265,6 +265,8 @@ namespace MediaBrowser.Model.Querying
public double? MinCommunityRating { get; set; }
public double? MinCriticRating { get; set; }
public int? AiredDuringSeason { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="ItemQuery" /> class.
/// </summary>