Interface IListingsProvider
Namespace: MediaBrowser.Controller.LiveTv
Assembly: MediaBrowser.Controller.dll
Syntax
public interface IListingsProvider
Properties
Name
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String |
SetupUrl
Declaration
string SetupUrl { get; }
Property Value
Type | Description |
---|---|
String |
Type
Declaration
string Type { get; }
Property Value
Type | Description |
---|---|
String |
Methods
GetChannels(ListingsProviderInfo, CancellationToken)
Declaration
Task<List<ChannelInfo>> GetChannels(ListingsProviderInfo info, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ListingsProviderInfo | info | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<List<ChannelInfo>> |
GetLineups(ListingsProviderInfo, String, String, CancellationToken)
Declaration
Task<List<NameIdPair>> GetLineups(ListingsProviderInfo info, string country, string location, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ListingsProviderInfo | info | |
String | country | |
String | location | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<List<NameIdPair>> |
GetProgramsAsync(ListingsProviderInfo, String, DateTimeOffset, DateTimeOffset, CancellationToken)
Declaration
Task<List<ProgramInfo>> GetProgramsAsync(ListingsProviderInfo info, string channelId, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ListingsProviderInfo | info | |
String | channelId | |
DateTimeOffset | startDateUtc | |
DateTimeOffset | endDateUtc | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<List<ProgramInfo>> |
Validate(ListingsProviderInfo, Boolean, Boolean)
Declaration
Task Validate(ListingsProviderInfo info, bool validateLogin, bool validateListings)
Parameters
Type | Name | Description |
---|---|---|
ListingsProviderInfo | info | |
Boolean | validateLogin | |
Boolean | validateListings |
Returns
Type | Description |
---|---|
Task |