From 9457ff7ce87e4752a7f51381b309604ee08f030e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 21 Jul 2015 00:22:46 -0400 Subject: completed tuner hosts --- MediaBrowser.Controller/LiveTv/IListingsProvider.cs | 7 ++++++- MediaBrowser.Controller/LiveTv/LiveTvServiceStatusInfo.cs | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/LiveTv/IListingsProvider.cs b/MediaBrowser.Controller/LiveTv/IListingsProvider.cs index 2cef455e8b..75ca7e0dcc 100644 --- a/MediaBrowser.Controller/LiveTv/IListingsProvider.cs +++ b/MediaBrowser.Controller/LiveTv/IListingsProvider.cs @@ -1,7 +1,12 @@ - +using System; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + namespace MediaBrowser.Controller.LiveTv { public interface IListingsProvider { + Task> GetProgramsAsync(ChannelInfo channel, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken); } } diff --git a/MediaBrowser.Controller/LiveTv/LiveTvServiceStatusInfo.cs b/MediaBrowser.Controller/LiveTv/LiveTvServiceStatusInfo.cs index 0cb064aba3..4da238acf5 100644 --- a/MediaBrowser.Controller/LiveTv/LiveTvServiceStatusInfo.cs +++ b/MediaBrowser.Controller/LiveTv/LiveTvServiceStatusInfo.cs @@ -34,10 +34,16 @@ namespace MediaBrowser.Controller.LiveTv /// /// The tuners. public List Tuners { get; set; } - + /// + /// Gets or sets a value indicating whether this instance is visible. + /// + /// true if this instance is visible; otherwise, false. + public bool IsVisible { get; set; } + public LiveTvServiceStatusInfo() { Tuners = new List(); + IsVisible = true; } } } -- cgit v1.2.3