mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
27 lines
845 B
C#
27 lines
845 B
C#
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Model.Dto;
|
|
using MediaBrowser.Model.LiveTv;
|
|
|
|
namespace MediaBrowser.Controller.LiveTv
|
|
{
|
|
public interface IListingsProvider
|
|
{
|
|
string Name { get; }
|
|
|
|
string Type { get; }
|
|
|
|
Task<IEnumerable<ProgramInfo>> GetProgramsAsync(ListingsProviderInfo info, string channelId, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken);
|
|
|
|
Task Validate(ListingsProviderInfo info, bool validateLogin, bool validateListings);
|
|
|
|
Task<List<NameIdPair>> GetLineups(ListingsProviderInfo info, string country, string location);
|
|
|
|
Task<List<ChannelInfo>> GetChannels(ListingsProviderInfo info, CancellationToken cancellationToken);
|
|
}
|
|
}
|