Files
jellyfin-jellyfin-1/MediaBrowser.Controller/LiveTv/IListingsProvider.cs

20 lines
811 B
C#
Raw Normal View History

2015-07-23 09:23:22 -04:00
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.LiveTv;
2015-07-23 01:25:55 -04:00
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; }
2015-07-23 09:23:22 -04:00
string Type { get; }
2017-02-04 18:32:16 -05:00
Task<IEnumerable<ProgramInfo>> GetProgramsAsync(ListingsProviderInfo info, string channelId, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken);
2015-07-25 13:21:10 -04:00
Task Validate(ListingsProviderInfo info, bool validateLogin, bool validateListings);
2015-07-23 13:58:20 -04:00
Task<List<NameIdPair>> GetLineups(ListingsProviderInfo info, string country, string location);
2016-06-08 01:24:25 -04:00
Task<List<ChannelInfo>> GetChannels(ListingsProviderInfo info, CancellationToken cancellationToken);
2015-07-20 14:32:55 -04:00
}
}