Adding RecordingInfo

This commit is contained in:
Sven Van den brande
2013-10-31 21:45:58 +01:00
parent f3ecfc4e05
commit 28ab28768a
13 changed files with 168 additions and 25 deletions

View File

@@ -13,6 +13,8 @@ namespace MediaBrowser.Controller.LiveTv
/// <value>The name.</value>
public string Name { get; set; }
public string Id { get; set; }
/// <summary>
/// Gets or sets the name of the service.
/// </summary>

View File

@@ -1,4 +1,5 @@
using MediaBrowser.Model.LiveTv;
using System.Threading.Tasks;
using MediaBrowser.Model.LiveTv;
using System.Collections.Generic;
namespace MediaBrowser.Controller.LiveTv

View File

@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Model.LiveTv;
namespace MediaBrowser.Controller.LiveTv
{
@@ -21,5 +22,7 @@ namespace MediaBrowser.Controller.LiveTv
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{IEnumerable{ChannelInfo}}.</returns>
Task<IEnumerable<ChannelInfo>> GetChannelsAsync(CancellationToken cancellationToken);
Task<IEnumerable<RecordingInfo>> GetRecordingsAsync(CancellationToken cancellationToken);
}
}