use shared itemHelper

This commit is contained in:
Luke Pulverenti 2016-05-11 13:46:44 -04:00
parent 1aede748b3
commit 761a476ea0
2 changed files with 4 additions and 1 deletions

View File

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

View File

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