|
|
@ -1,5 +1,6 @@
|
|
|
|
using MediaBrowser.Common.Extensions;
|
|
|
|
using MediaBrowser.Common.Extensions;
|
|
|
|
using MediaBrowser.Common.IO;
|
|
|
|
using MediaBrowser.Common.IO;
|
|
|
|
|
|
|
|
using MediaBrowser.Controller.Channels;
|
|
|
|
using MediaBrowser.Controller.Configuration;
|
|
|
|
using MediaBrowser.Controller.Configuration;
|
|
|
|
using MediaBrowser.Controller.Drawing;
|
|
|
|
using MediaBrowser.Controller.Drawing;
|
|
|
|
using MediaBrowser.Controller.Dto;
|
|
|
|
using MediaBrowser.Controller.Dto;
|
|
|
@ -1140,6 +1141,13 @@ namespace MediaBrowser.Server.Implementations.Dto
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dto.MediaSources = GetMediaSources(tvChannel);
|
|
|
|
dto.MediaSources = GetMediaSources(tvChannel);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var channelItem = item as IChannelItem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (channelItem != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
dto.ChannelId = channelItem.ChannelId;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public List<MediaSourceInfo> GetMediaSources(BaseItem item)
|
|
|
|
public List<MediaSourceInfo> GetMediaSources(BaseItem item)
|
|
|
|