From a1749a27c96e7a7b2b894c3d9b891363233d0c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20T=C3=B6rnblom?= Date: Wed, 9 Jan 2013 16:45:14 +0100 Subject: [PATCH] webui: expose a "play" url to the entire mux. --- src/webui/static/app/dvb.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/webui/static/app/dvb.js b/src/webui/static/app/dvb.js index a3808527..d351c98c 100644 --- a/src/webui/static/app/dvb.js +++ b/src/webui/static/app/dvb.js @@ -24,6 +24,14 @@ tvheadend.dvb_muxes = function(adapterData, satConfStore) { var cmlist = Array(); cmlist.push(enabledColumn, { + header : "Play", + dataIndex : 'id', + width : 50, + renderer : function(value, metadata, record, row, col, store) { + url = 'stream/mux/' + value + return 'Play' + } + }, { header : "Network", dataIndex : 'network', width : 200