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,