use shared itemHelper
This commit is contained in:
parent
1aede748b3
commit
761a476ea0
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user