diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-20 15:09:49 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-20 15:09:49 -0500 |
| commit | 594ed864c6a752c6f656cee464ede9cf2473ceaf (patch) | |
| tree | 1c65edc55a83e8583bc5e6ca6ac5c7be6ec37439 /MediaBrowser.Model/LiveTv | |
| parent | 33e1e5367317c70588373fc5a1c1f619c73c9a80 (diff) | |
live tv updates
Diffstat (limited to 'MediaBrowser.Model/LiveTv')
| -rw-r--r-- | MediaBrowser.Model/LiveTv/ProgramInfoDto.cs | 30 | ||||
| -rw-r--r-- | MediaBrowser.Model/LiveTv/RecordingInfoDto.cs | 48 | ||||
| -rw-r--r-- | MediaBrowser.Model/LiveTv/TimerInfoDto.cs | 6 |
3 files changed, 78 insertions, 6 deletions
diff --git a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs index 7a55282ccc..d48bb40874 100644 --- a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs @@ -140,11 +140,41 @@ namespace MediaBrowser.Model.LiveTv public bool IsSeries { get; set; } /// <summary> + /// Gets or sets a value indicating whether this instance is live. + /// </summary> + /// <value><c>true</c> if this instance is live; otherwise, <c>false</c>.</value> + public bool IsLive { get; set; } + + /// <summary> /// Gets or sets the type. /// </summary> /// <value>The type.</value> public string Type { get; set; } + /// <summary> + /// Gets or sets the run time ticks. + /// </summary> + /// <value>The run time ticks.</value> + public long? RunTimeTicks { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is news. + /// </summary> + /// <value><c>true</c> if this instance is news; otherwise, <c>false</c>.</value> + public bool IsNews { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is kids. + /// </summary> + /// <value><c>true</c> if this instance is kids; otherwise, <c>false</c>.</value> + public bool IsKids { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is premiere. + /// </summary> + /// <value><c>true</c> if this instance is premiere; otherwise, <c>false</c>.</value> + public bool IsPremiere { get; set; } + public ProgramInfoDto() { Genres = new List<string>(); diff --git a/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs b/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs index 16ced7c2ce..e686fd9c43 100644 --- a/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs @@ -96,10 +96,10 @@ namespace MediaBrowser.Model.LiveTv public string EpisodeTitle { get; set; } /// <summary> - /// Gets or sets the duration ms. + /// Gets or sets the run time ticks. /// </summary> - /// <value>The duration ms.</value> - public int DurationMs { get; set; } + /// <value>The run time ticks.</value> + public long? RunTimeTicks { get; set; } /// <summary> /// Gets or sets the type of the media. @@ -138,6 +138,48 @@ namespace MediaBrowser.Model.LiveTv public ProgramAudio? Audio { get; set; } /// <summary> + /// Gets or sets a value indicating whether this instance is movie. + /// </summary> + /// <value><c>true</c> if this instance is movie; otherwise, <c>false</c>.</value> + public bool IsMovie { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is sports. + /// </summary> + /// <value><c>true</c> if this instance is sports; otherwise, <c>false</c>.</value> + public bool IsSports { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is series. + /// </summary> + /// <value><c>true</c> if this instance is series; otherwise, <c>false</c>.</value> + public bool IsSeries { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is live. + /// </summary> + /// <value><c>true</c> if this instance is live; otherwise, <c>false</c>.</value> + public bool IsLive { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is news. + /// </summary> + /// <value><c>true</c> if this instance is news; otherwise, <c>false</c>.</value> + public bool IsNews { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is kids. + /// </summary> + /// <value><c>true</c> if this instance is kids; otherwise, <c>false</c>.</value> + public bool IsKids { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether this instance is premiere. + /// </summary> + /// <value><c>true</c> if this instance is premiere; otherwise, <c>false</c>.</value> + public bool IsPremiere { get; set; } + + /// <summary> /// Gets or sets the image tags. /// </summary> /// <value>The image tags.</value> diff --git a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs index fc7306a627..dfca78e79a 100644 --- a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs @@ -112,10 +112,10 @@ namespace MediaBrowser.Model.LiveTv public bool IsPostPaddingRequired { get; set; } /// <summary> - /// Gets or sets the duration ms. + /// Gets or sets the run time ticks. /// </summary> - /// <value>The duration ms.</value> - public int DurationMs { get; set; } + /// <value>The run time ticks.</value> + public long? RunTimeTicks { get; set; } /// <summary> /// Gets or sets the priority. |
