2015-07-22 22:25:55 -07:00
|
|
|
|
using MediaBrowser.Model.LiveTv;
|
|
|
|
|
using System;
|
2015-07-20 21:22:46 -07:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2015-07-20 11:32:55 -07:00
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
|
|
|
{
|
|
|
|
|
public interface IListingsProvider
|
|
|
|
|
{
|
2015-07-22 22:25:55 -07:00
|
|
|
|
string Name { get; }
|
|
|
|
|
Task<IEnumerable<ProgramInfo>> GetProgramsAsync(ListingsProviderInfo info, ChannelInfo channel, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken);
|
|
|
|
|
Task AddMetadata(ListingsProviderInfo info, List<ChannelInfo> channels, CancellationToken cancellationToken);
|
2015-07-20 11:32:55 -07:00
|
|
|
|
}
|
|
|
|
|
}
|