aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/LiveTv
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-29 10:19:12 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-29 10:19:12 -0400
commit25b54158297fa7a27781d86fa987de0d3056b6e2 (patch)
treea53fab13163c049f10683791e7f6b871fd288508 /MediaBrowser.Model/LiveTv
parent5477c61596e401549bb3e14ac258ea61aee74743 (diff)
update live tv styles
Diffstat (limited to 'MediaBrowser.Model/LiveTv')
-rw-r--r--MediaBrowser.Model/LiveTv/ChannelInfoDto.cs13
-rw-r--r--MediaBrowser.Model/LiveTv/ProgramInfoDto.cs14
-rw-r--r--MediaBrowser.Model/LiveTv/RecordingInfoDto.cs14
3 files changed, 32 insertions, 9 deletions
diff --git a/MediaBrowser.Model/LiveTv/ChannelInfoDto.cs b/MediaBrowser.Model/LiveTv/ChannelInfoDto.cs
index 3fec0ee56f..2f244b4e39 100644
--- a/MediaBrowser.Model/LiveTv/ChannelInfoDto.cs
+++ b/MediaBrowser.Model/LiveTv/ChannelInfoDto.cs
@@ -1,11 +1,10 @@
-using System.ComponentModel;
-using System.Diagnostics;
-using System.Runtime.Serialization;
-using MediaBrowser.Model.Dto;
+using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
-using System;
-using System.Collections.Generic;
using MediaBrowser.Model.Library;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Diagnostics;
+using System.Runtime.Serialization;
namespace MediaBrowser.Model.LiveTv
{
@@ -20,7 +19,7 @@ namespace MediaBrowser.Model.LiveTv
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
-
+
/// <summary>
/// Gets or sets the identifier.
/// </summary>
diff --git a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs
index fb931820e5..0a2873ef3d 100644
--- a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs
+++ b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs
@@ -10,7 +10,7 @@ using MediaBrowser.Model.Library;
namespace MediaBrowser.Model.LiveTv
{
[DebuggerDisplay("Name = {Name}, StartTime = {StartDate}, EndTime = {EndDate}")]
- public class ProgramInfoDto : INotifyPropertyChanged
+ public class ProgramInfoDto : INotifyPropertyChanged, IItemDto
{
/// <summary>
/// Id of the program.
@@ -18,6 +18,18 @@ namespace MediaBrowser.Model.LiveTv
public string Id { get; set; }
/// <summary>
+ /// Gets or sets the primary image aspect ratio.
+ /// </summary>
+ /// <value>The primary image aspect ratio.</value>
+ public double? PrimaryImageAspectRatio { get; set; }
+
+ /// <summary>
+ /// Gets or sets the original primary image aspect ratio.
+ /// </summary>
+ /// <value>The original primary image aspect ratio.</value>
+ public double? OriginalPrimaryImageAspectRatio { get; set; }
+
+ /// <summary>
/// Gets or sets the timer identifier.
/// </summary>
/// <value>The timer identifier.</value>
diff --git a/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs b/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs
index 3705b7a29e..58bca06bd2 100644
--- a/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs
+++ b/MediaBrowser.Model/LiveTv/RecordingInfoDto.cs
@@ -10,7 +10,7 @@ using System.Runtime.Serialization;
namespace MediaBrowser.Model.LiveTv
{
[DebuggerDisplay("Name = {Name}, ChannelName = {ChannelName}")]
- public class RecordingInfoDto : INotifyPropertyChanged
+ public class RecordingInfoDto : INotifyPropertyChanged, IItemDto
{
/// <summary>
/// Id of the recording.
@@ -18,6 +18,18 @@ namespace MediaBrowser.Model.LiveTv
public string Id { get; set; }
/// <summary>
+ /// Gets or sets the primary image aspect ratio.
+ /// </summary>
+ /// <value>The primary image aspect ratio.</value>
+ public double? PrimaryImageAspectRatio { get; set; }
+
+ /// <summary>
+ /// Gets or sets the original primary image aspect ratio.
+ /// </summary>
+ /// <value>The original primary image aspect ratio.</value>
+ public double? OriginalPrimaryImageAspectRatio { get; set; }
+
+ /// <summary>
/// Gets or sets the series timer identifier.
/// </summary>
/// <value>The series timer identifier.</value>