mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updated tv guide
This commit is contained in:
parent
08b1008f6a
commit
231ed3c315
6 changed files with 41 additions and 11 deletions
|
@ -300,7 +300,21 @@
|
|||
|
||||
html += '<div class="channelHeaderCell">';
|
||||
html += '<a class="channelHeaderCellInner" href="livetvchannel.html?id=' + channel.Id + '">';
|
||||
html += channel.Name + '<br/>' + channel.Number;
|
||||
|
||||
html += '<div class="guideChannelInfo">' + channel.Name + '<br/>' + channel.Number + '</div>';
|
||||
|
||||
if (channel.ImageTags.Primary) {
|
||||
|
||||
var url = ApiClient.getUrl("LiveTV/Channels/" + channel.Id + "/Images/Primary", {
|
||||
maxheight: 200,
|
||||
maxwidth: 200,
|
||||
tag: channel.ImageTags.Primary,
|
||||
type: "Primary"
|
||||
});
|
||||
|
||||
html += '<img class="guideChannelImage" src="' + url + '" />';
|
||||
}
|
||||
|
||||
html += '</a>';
|
||||
html += '</div>';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue