From b362edb3a4965fac14650179a494244c0f8ee7b5 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 17 Jun 2014 16:19:28 +0200 Subject: [PATCH] webui: Added back the play link (no integrated player) --- src/webui/static/app/epg.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index c4175e6a..787139f5 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -58,6 +58,10 @@ tvheadend.epgDetails = function(event) { content += '
Search IMDB
'; content += ''; content += '
'; + + now = new Date(); + if (event.start < now && event.end > now) + content += '
Play
'; var confcombo = new Ext.form.ComboBox({ store: tvheadend.configNames,