updated get epg
This commit is contained in:
parent
78e6304ac0
commit
8349b1f83a
|
@ -126,7 +126,7 @@ namespace MediaBrowser.Api.LiveTv
|
||||||
return ToOptimizedResult(result);
|
return ToOptimizedResult(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task<IEnumerable<EpgFullInfo>> GetEpgAsync(GetEpg request)
|
private async Task<EpgFullInfo> GetEpgAsync(GetEpg request)
|
||||||
{
|
{
|
||||||
var service = GetServices(request.ServiceName)
|
var service = GetServices(request.ServiceName)
|
||||||
.First();
|
.First();
|
||||||
|
|
|
@ -35,7 +35,7 @@ namespace MediaBrowser.Controller.LiveTv
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="channelId">The channel identifier.</param>
|
/// <param name="channelId">The channel identifier.</param>
|
||||||
/// <param name="cancellationToken">The cancellation token.</param>
|
/// <param name="cancellationToken">The cancellation token.</param>
|
||||||
/// <returns>Task{IEnumerable{EpgFullInfo}}.</returns>
|
/// <returns>Task{EpgFullInfo}.</returns>
|
||||||
Task<IEnumerable<EpgFullInfo>> GetEpgAsync(string channelId, CancellationToken cancellationToken);
|
Task<EpgFullInfo> GetEpgAsync(string channelId, CancellationToken cancellationToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user