fix channel numbers
This commit is contained in:
parent
658c13b8e6
commit
32b5ef7b80
|
@ -290,6 +290,12 @@ namespace MediaBrowser.Model.Dto
|
|||
/// <value><c>null</c> if [is place holder] contains no value, <c>true</c> if [is place holder]; otherwise, <c>false</c>.</value>
|
||||
public bool? IsPlaceHolder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the number.
|
||||
/// </summary>
|
||||
/// <value>The number.</value>
|
||||
public string Number { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the index number.
|
||||
/// </summary>
|
||||
|
|
|
@ -1845,6 +1845,10 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
|||
var dto = tuple.Item1;
|
||||
var channel = tuple.Item2;
|
||||
|
||||
dto.Number = channel.Number;
|
||||
dto.ChannelType = channel.ChannelType;
|
||||
dto.ServiceName = GetService(channel).Name;
|
||||
|
||||
dto.MediaSources = channel.GetMediaSources(true).ToList();
|
||||
|
||||
var channelIdString = channel.Id.ToString("N");
|
||||
|
|
Loading…
Reference in New Issue
Block a user