update live tv setup

This commit is contained in:
Luke Pulverenti
2015-07-23 01:25:55 -04:00
parent cf27ac47a8
commit 7300a475d1
11 changed files with 923 additions and 109 deletions

View File

@@ -1,4 +1,5 @@
using System;
using MediaBrowser.Model.LiveTv;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
@@ -7,6 +8,8 @@ namespace MediaBrowser.Controller.LiveTv
{
public interface IListingsProvider
{
Task<IEnumerable<ProgramInfo>> GetProgramsAsync(ChannelInfo channel, DateTime startDateUtc, DateTime endDateUtc, CancellationToken cancellationToken);
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);
}
}