|
@@ -1,4 +1,5 @@
|
|
-using MediaBrowser.Model.Dto;
|
|
|
|
|
|
+using System.ComponentModel;
|
|
|
|
+using MediaBrowser.Model.Dto;
|
|
using MediaBrowser.Model.Entities;
|
|
using MediaBrowser.Model.Entities;
|
|
using System;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.Generic;
|
|
@@ -8,7 +9,7 @@ namespace MediaBrowser.Model.LiveTv
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Class ChannelInfoDto
|
|
/// Class ChannelInfoDto
|
|
/// </summary>
|
|
/// </summary>
|
|
- public class ChannelInfoDto : IItemDto
|
|
|
|
|
|
+ public class ChannelInfoDto : INotifyPropertyChanged, IItemDto
|
|
{
|
|
{
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets or sets the name.
|
|
/// Gets or sets the name.
|
|
@@ -27,19 +28,19 @@ namespace MediaBrowser.Model.LiveTv
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <value>The external identifier.</value>
|
|
/// <value>The external identifier.</value>
|
|
public string ExternalId { get; set; }
|
|
public string ExternalId { get; set; }
|
|
-
|
|
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets or sets the image tags.
|
|
/// Gets or sets the image tags.
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <value>The image tags.</value>
|
|
/// <value>The image tags.</value>
|
|
public Dictionary<ImageType, Guid> ImageTags { get; set; }
|
|
public Dictionary<ImageType, Guid> ImageTags { get; set; }
|
|
-
|
|
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets or sets the number.
|
|
/// Gets or sets the number.
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <value>The number.</value>
|
|
/// <value>The number.</value>
|
|
public string Number { get; set; }
|
|
public string Number { get; set; }
|
|
-
|
|
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Gets or sets the name of the service.
|
|
/// Gets or sets the name of the service.
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -87,10 +88,12 @@ namespace MediaBrowser.Model.LiveTv
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <value>The original primary image aspect ratio.</value>
|
|
/// <value>The original primary image aspect ratio.</value>
|
|
public double? OriginalPrimaryImageAspectRatio { get; set; }
|
|
public double? OriginalPrimaryImageAspectRatio { get; set; }
|
|
-
|
|
|
|
|
|
+
|
|
public ChannelInfoDto()
|
|
public ChannelInfoDto()
|
|
{
|
|
{
|
|
ImageTags = new Dictionary<ImageType, Guid>();
|
|
ImageTags = new Dictionary<ImageType, Guid>();
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public event PropertyChangedEventHandler PropertyChanged;
|
|
}
|
|
}
|
|
}
|
|
}
|