aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-11-15 16:31:44 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-11-15 16:31:44 -0500
commit83d70c54ec303fab934f76fdd493cfa73c89533f (patch)
treef19cc679e314b9cc2a1a6662fce4bab9b31fc4fe /MediaBrowser.Model
parenta09e330d4e3ee9cea57f3568c8684dce66c44142 (diff)
Updated live tv api
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/LiveTv/ChannelInfoDto.cs10
-rw-r--r--MediaBrowser.Model/LiveTv/EpgFullInfo.cs17
-rw-r--r--MediaBrowser.Model/LiveTv/EpgInfo.cs37
-rw-r--r--MediaBrowser.Model/MediaBrowser.Model.csproj5
4 files changed, 13 insertions, 56 deletions
diff --git a/MediaBrowser.Model/LiveTv/ChannelInfoDto.cs b/MediaBrowser.Model/LiveTv/ChannelInfoDto.cs
index 15c905581..8daaa75ca 100644
--- a/MediaBrowser.Model/LiveTv/ChannelInfoDto.cs
+++ b/MediaBrowser.Model/LiveTv/ChannelInfoDto.cs
@@ -12,7 +12,17 @@ namespace MediaBrowser.Model.LiveTv
/// <value>The name.</value>
public string Name { get; set; }
+ /// <summary>
+ /// Gets or sets the identifier.
+ /// </summary>
+ /// <value>The identifier.</value>
public string Id { get; set; }
+
+ /// <summary>
+ /// Gets or sets the number.
+ /// </summary>
+ /// <value>The number.</value>
+ public string Number { get; set; }
/// <summary>
/// Gets or sets the name of the service.
diff --git a/MediaBrowser.Model/LiveTv/EpgFullInfo.cs b/MediaBrowser.Model/LiveTv/EpgFullInfo.cs
deleted file mode 100644
index 8e48537b8..000000000
--- a/MediaBrowser.Model/LiveTv/EpgFullInfo.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System.Collections.Generic;
-
-namespace MediaBrowser.Model.LiveTv
-{
- public class EpgFullInfo
- {
- /// <summary>
- /// ChannelId for the EPG.
- /// </summary>
- public string ChannelId { get; set; }
-
- /// <summary>
- /// List of all the programs for a specific channel
- /// </summary>
- public List<EpgInfo> EpgInfos { get; set; }
- }
-}
diff --git a/MediaBrowser.Model/LiveTv/EpgInfo.cs b/MediaBrowser.Model/LiveTv/EpgInfo.cs
deleted file mode 100644
index c60064882..000000000
--- a/MediaBrowser.Model/LiveTv/EpgInfo.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using System;
-
-namespace MediaBrowser.Model.LiveTv
-{
- public class EpgInfo
- {
- /// <summary>
- /// Id of the program.
- /// </summary>
- public string Id { get; set; }
-
- /// <summary>
- /// Name of the program
- /// </summary>
- public string Name { get; set; }
-
- /// <summary>
- /// Description of the progam.
- /// </summary>
- public string Description { get; set; }
-
- /// <summary>
- /// The start date of the program, in UTC.
- /// </summary>
- public DateTime StartDate { get; set; }
-
- /// <summary>
- /// The end date of the program, in UTC.
- /// </summary>
- public DateTime EndDate { get; set; }
-
- /// <summary>
- /// Genre of the program.
- /// </summary>
- public string Genre { get; set; }
- }
-} \ No newline at end of file
diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj
index 48f298778..6ff6fcf73 100644
--- a/MediaBrowser.Model/MediaBrowser.Model.csproj
+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj
@@ -60,8 +60,9 @@
<Compile Include="Dto\ItemCounts.cs" />
<Compile Include="Dto\ItemIndex.cs" />
<Compile Include="Entities\PackageReviewInfo.cs" />
- <Compile Include="LiveTv\EpgFullInfo.cs" />
- <Compile Include="LiveTv\EpgInfo.cs" />
+ <Compile Include="LiveTv\ChannelGuide.cs" />
+ <Compile Include="LiveTv\ProgramInfo.cs" />
+ <Compile Include="LiveTv\RecordingQuery.cs" />
<Compile Include="Providers\ImageProviderInfo.cs" />
<Compile Include="Providers\RemoteImageInfo.cs" />
<Compile Include="Dto\StudioDto.cs" />