From: tunip Date: Fri, 23 Sep 2016 10:58:26 +0000 (+0200) Subject: Show EPG poster in detailed view X-Git-Tag: v4.2.1~300 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=59d93dd5187e5318fb7483aefca42a51f1069956;p=thirdparty%2Ftvheadend.git Show EPG poster in detailed view --- diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index b66a6d94e..a9389eba4 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -118,6 +118,9 @@ tvheadend.epgDetails = function(event) { content += ''; /* x-epg-left */ content += '
'; } + if (event.image != null && event.image.length > 0) { + content += ''; + } content += '
'; if (event.summary) content += '
' + event.summary + '
'; @@ -139,7 +142,7 @@ tvheadend.epgDetails = function(event) { if (g1 || g2) genre.push((g1 ? '[' + g1 + '] ' : '') + g2); }); - content += '
' + _('Content Type') + ':' + genre.join(', ') + '
'; + content += '
' + _('Content Type') + ':' + genre.join(', ') + '
'; } var tags = []; if (event.hd > 1) @@ -405,6 +408,7 @@ tvheadend.epg = function() { { name: 'summary' }, { name: 'description' }, { name: 'episodeOnscreen' }, + { name: 'image' }, { name: 'start', type: 'date',