2015-07-23 01:25:55 -04:00
|
|
|
|
using MediaBrowser.Model.LiveTv;
|
|
|
|
|
|
using System;
|
2015-07-21 00:22:46 -04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Threading;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
2015-07-20 14:32:55 -04:00
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IListingsProvider
|
|
|
|
|
|
{
|
2015-07-23 01:25:55 -04: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 14:32:55 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|