1
0
Fork 0
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:
Luke Pulverenti 2014-01-06 13:25:33 -05:00
parent 08b1008f6a
commit 231ed3c315
6 changed files with 41 additions and 11 deletions

View file

@ -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>';