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

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MediaBrowser.Model.Dto
{
public class RecordingInfoDto
{
}
}

View File

@@ -12,6 +12,8 @@ namespace MediaBrowser.Model.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

@@ -0,0 +1,27 @@
using System;
namespace MediaBrowser.Model.LiveTv
{
public class RecordingInfo
{
public string ChannelId { get; set; }
public string ChannelName { get; set; }
public string Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
/// <summary>
/// The start date of the recording, in UTC
/// </summary>
public DateTime StartDate { get; set; }
/// <summary>
/// The end date of the recording, in UTC
/// </summary>
public DateTime EndDate { get; set; }
}
}

View File

@@ -73,6 +73,7 @@
<Compile Include="LiveTv\ChannelInfoDto.cs" />
<Compile Include="LiveTv\ChannelType.cs" />
<Compile Include="LiveTv\LiveTvServiceInfo.cs" />
<Compile Include="LiveTv\RecordingInfo.cs" />
<Compile Include="Net\WebSocketMessage.cs" />
<Compile Include="Net\WebSocketMessageType.cs" />
<Compile Include="Net\WebSocketState.cs" />