use shared itemHelper

pull/702/head
Luke Pulverenti 9 years ago
parent 1aede748b3
commit 761a476ea0

@ -297,7 +297,8 @@ namespace MediaBrowser.Model.Dto
/// </summary> /// </summary>
/// <value>The number.</value> /// <value>The number.</value>
public string Number { get; set; } public string Number { get; set; }
public string ChannelNumber { get; set; }
/// <summary> /// <summary>
/// Gets or sets the index number. /// Gets or sets the index number.
/// </summary> /// </summary>

@ -1515,6 +1515,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv
{ {
dto.ChannelName = channel.Name; dto.ChannelName = channel.Name;
dto.MediaType = channel.MediaType; dto.MediaType = channel.MediaType;
dto.ChannelNumber = channel.Number;
if (channel.HasImage(ImageType.Primary)) if (channel.HasImage(ImageType.Primary))
{ {
@ -1854,6 +1855,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv
var channel = tuple.Item2; var channel = tuple.Item2;
dto.Number = channel.Number; dto.Number = channel.Number;
dto.ChannelNumber = channel.Number;
dto.ChannelType = channel.ChannelType; dto.ChannelType = channel.ChannelType;
dto.ServiceName = GetService(channel).Name; dto.ServiceName = GetService(channel).Name;

Loading…
Cancel
Save