updated live tv models

This commit is contained in:
Luke Pulverenti
2013-12-04 15:55:42 -05:00
parent cb882a4b48
commit 81e59040d0
13 changed files with 113 additions and 114 deletions

View File

@@ -6,12 +6,6 @@ namespace MediaBrowser.Model.LiveTv
/// </summary>
public class ChannelQuery
{
/// <summary>
/// Gets or sets the name of the service.
/// </summary>
/// <value>The name of the service.</value>
public string ServiceName { get; set; }
/// <summary>
/// Gets or sets the type of the channel.
/// </summary>

View File

@@ -52,9 +52,9 @@ namespace MediaBrowser.Model.LiveTv
public string Name { get; set; }
/// <summary>
/// Description of the progam.
/// Overview of the recording.
/// </summary>
public string Description { get; set; }
public string Overview { get; set; }
/// <summary>
/// The start date of the program, in UTC.
@@ -72,16 +72,16 @@ namespace MediaBrowser.Model.LiveTv
public List<string> Genres { get; set; }
/// <summary>
/// Gets or sets the quality.
/// Gets or sets a value indicating whether this instance is hd.
/// </summary>
/// <value>The quality.</value>
public ProgramVideoQuality Quality { get; set; }
/// <value><c>true</c> if this instance is hd; otherwise, <c>false</c>.</value>
public bool? IsHD { get; set; }
/// <summary>
/// Gets or sets the audio.
/// </summary>
/// <value>The audio.</value>
public ProgramAudio Audio { get; set; }
public ProgramAudio? Audio { get; set; }
/// <summary>
/// Gets or sets the original air date.
@@ -107,12 +107,6 @@ namespace MediaBrowser.Model.LiveTv
}
}
public enum ProgramVideoQuality
{
StandardDefinition,
HighDefinition
}
public enum ProgramAudio
{
Stereo

View File

@@ -5,12 +5,6 @@
/// </summary>
public class ProgramQuery
{
/// <summary>
/// Gets or sets the name of the service.
/// </summary>
/// <value>The name of the service.</value>
public string ServiceName { get; set; }
/// <summary>
/// Gets or sets the channel identifier.
/// </summary>

View File

@@ -44,9 +44,9 @@ namespace MediaBrowser.Model.LiveTv
public string Path { get; set; }
/// <summary>
/// Description of the recording.
/// Overview of the recording.
/// </summary>
public string Description { get; set; }
public string Overview { get; set; }
/// <summary>
/// The start date of the recording, in UTC.
@@ -111,6 +111,18 @@ namespace MediaBrowser.Model.LiveTv
/// <value>The community rating.</value>
public float? CommunityRating { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is hd.
/// </summary>
/// <value><c>true</c> if this instance is hd; otherwise, <c>false</c>.</value>
public bool? IsHD { get; set; }
/// <summary>
/// Gets or sets the audio.
/// </summary>
/// <value>The audio.</value>
public ProgramAudio? Audio { get; set; }
public RecordingInfoDto()
{
Genres = new List<string>();

View File

@@ -10,12 +10,6 @@
/// </summary>
/// <value>The channel identifier.</value>
public string ChannelId { get; set; }
/// <summary>
/// Gets or sets the name of the service.
/// </summary>
/// <value>The name of the service.</value>
public string ServiceName { get; set; }
}
public class TimerQuery
@@ -25,11 +19,5 @@
/// </summary>
/// <value>The channel identifier.</value>
public string ChannelId { get; set; }
/// <summary>
/// Gets or sets the name of the service.
/// </summary>
/// <value>The name of the service.</value>
public string ServiceName { get; set; }
}
}

View File

@@ -64,16 +64,28 @@ namespace MediaBrowser.Model.LiveTv
public string SeriesTimerId { get; set; }
/// <summary>
/// Gets or sets the pre padding seconds.
/// Gets or sets the requested pre padding seconds.
/// </summary>
/// <value>The pre padding seconds.</value>
public int PrePaddingSeconds { get; set; }
/// <value>The requested pre padding seconds.</value>
public int RequestedPrePaddingSeconds { get; set; }
/// <summary>
/// Gets or sets the post padding seconds.
/// Gets or sets the requested post padding seconds.
/// </summary>
/// <value>The post padding seconds.</value>
public int PostPaddingSeconds { get; set; }
/// <value>The requested post padding seconds.</value>
public int RequestedPostPaddingSeconds { get; set; }
/// <summary>
/// Gets or sets the required pre padding seconds.
/// </summary>
/// <value>The required pre padding seconds.</value>
public int RequiredPrePaddingSeconds { get; set; }
/// <summary>
/// Gets or sets the required post padding seconds.
/// </summary>
/// <value>The required post padding seconds.</value>
public int RequiredPostPaddingSeconds { get; set; }
/// <summary>
/// Gets or sets the duration ms.