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 --- .../Configuration/ServerConfiguration.cs | 8 +++++++ MediaBrowser.Model/LiveTv/ProgramInfoDto.cs | 18 +++++++++++++++ MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs | 24 ++++++++++---------- MediaBrowser.Model/LiveTv/TimerInfoDto.cs | 26 +++++++++++----------- 4 files changed, 51 insertions(+), 25 deletions(-) (limited to 'MediaBrowser.Model') diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index 14231f3ad..62688cdc4 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -234,6 +234,10 @@ namespace MediaBrowser.Model.Configuration /// The encoding quality. public EncodingQuality EncodingQuality { get; set; } + public bool EnableMovieChapterImageExtraction { get; set; } + public bool EnableEpisodeChapterImageExtraction { get; set; } + public bool EnableOtherVideoChapterImageExtraction { get; set; } + /// /// Initializes a new instance of the class. /// @@ -247,6 +251,10 @@ namespace MediaBrowser.Model.Configuration EnableDashboardResponseCaching = true; EnableVideoImageExtraction = true; + EnableMovieChapterImageExtraction = true; + EnableEpisodeChapterImageExtraction = true; + EnableOtherVideoChapterImageExtraction = true; + #if (DEBUG) EnableDeveloperTools = true; #endif diff --git a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs index 4febb2961..0c4eb28c5 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 fd61b8722..a8c6a2e37 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 f6db58c05..fc7306a62 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