From e1e5d354345008e8d4ddc2dbbb99a68df4133280 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 18 Dec 2013 00:44:46 -0500 Subject: live tv updates --- MediaBrowser.Model/LiveTv/ProgramInfoDto.cs | 18 +++++++++++++++++ MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs | 24 +++++++++++------------ MediaBrowser.Model/LiveTv/TimerInfoDto.cs | 26 ++++++++++++------------- 3 files changed, 43 insertions(+), 25 deletions(-) (limited to 'MediaBrowser.Model/LiveTv') diff --git a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs index 4febb29619..0c4eb28c56 100644 --- a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs @@ -114,6 +114,24 @@ namespace MediaBrowser.Model.LiveTv /// The user data. public UserItemDataDto UserData { get; set; } + /// + /// Gets or sets a value indicating whether this instance is movie. + /// + /// true if this instance is movie; otherwise, false. + public bool IsMovie { get; set; } + + /// + /// Gets or sets a value indicating whether this instance is sports. + /// + /// true if this instance is sports; otherwise, false. + public bool IsSports { get; set; } + + /// + /// Gets or sets a value indicating whether this instance is series. + /// + /// true if this instance is series; otherwise, false. + public bool IsSeries { get; set; } + public ProgramInfoDto() { Genres = new List(); diff --git a/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs b/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs index fd61b87228..a8c6a2e37a 100644 --- a/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs @@ -107,28 +107,28 @@ namespace MediaBrowser.Model.LiveTv public int Priority { get; set; } /// - /// Gets or sets the requested pre padding seconds. + /// Gets or sets the pre padding seconds. /// - /// The requested pre padding seconds. - public int RequestedPrePaddingSeconds { get; set; } + /// The pre padding seconds. + public int PrePaddingSeconds { get; set; } /// - /// Gets or sets the requested post padding seconds. + /// Gets or sets the post padding seconds. /// - /// The requested post padding seconds. - public int RequestedPostPaddingSeconds { get; set; } + /// The post padding seconds. + public int PostPaddingSeconds { get; set; } /// - /// Gets or sets the required pre padding seconds. + /// Gets or sets a value indicating whether this instance is pre padding required. /// - /// The required pre padding seconds. - public int RequiredPrePaddingSeconds { get; set; } + /// true if this instance is pre padding required; otherwise, false. + public bool IsPrePaddingRequired { get; set; } /// - /// Gets or sets the required post padding seconds. + /// Gets or sets a value indicating whether this instance is post padding required. /// - /// The required post padding seconds. - public int RequiredPostPaddingSeconds { get; set; } + /// true if this instance is post padding required; otherwise, false. + public bool IsPostPaddingRequired { get; set; } public SeriesTimerInfoDto() { diff --git a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs index f6db58c052..fc7306a627 100644 --- a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs @@ -86,30 +86,30 @@ namespace MediaBrowser.Model.LiveTv /// /// The external series timer identifier. public string ExternalSeriesTimerId { get; set; } - + /// - /// Gets or sets the requested pre padding seconds. + /// Gets or sets the pre padding seconds. /// - /// The requested pre padding seconds. - public int RequestedPrePaddingSeconds { get; set; } + /// The pre padding seconds. + public int PrePaddingSeconds { get; set; } /// - /// Gets or sets the requested post padding seconds. + /// Gets or sets the post padding seconds. /// - /// The requested post padding seconds. - public int RequestedPostPaddingSeconds { get; set; } + /// The post padding seconds. + public int PostPaddingSeconds { get; set; } /// - /// Gets or sets the required pre padding seconds. + /// Gets or sets a value indicating whether this instance is pre padding required. /// - /// The required pre padding seconds. - public int RequiredPrePaddingSeconds { get; set; } + /// true if this instance is pre padding required; otherwise, false. + public bool IsPrePaddingRequired { get; set; } /// - /// Gets or sets the required post padding seconds. + /// Gets or sets a value indicating whether this instance is post padding required. /// - /// The required post padding seconds. - public int RequiredPostPaddingSeconds { get; set; } + /// true if this instance is post padding required; otherwise, false. + public bool IsPostPaddingRequired { get; set; } /// /// Gets or sets the duration ms. -- cgit v1.2.3