|
|
@ -87,7 +87,6 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
|
|
|
ServiceName = info.ServiceName,
|
|
|
|
ServiceName = info.ServiceName,
|
|
|
|
ChannelType = info.ChannelType,
|
|
|
|
ChannelType = info.ChannelType,
|
|
|
|
Number = info.ChannelNumber,
|
|
|
|
Number = info.ChannelNumber,
|
|
|
|
PrimaryImageTag = GetLogoImageTag(info),
|
|
|
|
|
|
|
|
Type = info.GetType().Name,
|
|
|
|
Type = info.GetType().Name,
|
|
|
|
Id = info.Id.ToString("N"),
|
|
|
|
Id = info.Id.ToString("N"),
|
|
|
|
MediaType = info.MediaType
|
|
|
|
MediaType = info.MediaType
|
|
|
@ -98,6 +97,13 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
|
|
|
dto.UserData = _dtoService.GetUserItemDataDto(_userDataManager.GetUserData(user.Id, info.GetUserDataKey()));
|
|
|
|
dto.UserData = _dtoService.GetUserItemDataDto(_userDataManager.GetUserData(user.Id, info.GetUserDataKey()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var imageTag = GetLogoImageTag(info);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (imageTag.HasValue)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
dto.ImageTags[ImageType.Primary] = imageTag.Value;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return dto;
|
|
|
|
return dto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|