Replaced the Play link in the channel editor with a javascript that will bring up the media player and start to stream the channel

This commit is contained in:
sb1066 2010-07-11 17:42:26 +00:00
parent 4a69f34186
commit 47efb01eb8

View file

@ -163,8 +163,8 @@ tvheadend.chconf = function()
dataIndex: 'chid',
width: 50,
renderer: function(value, metadata, record, row, col, store) {
url = makeRTSPprefix() + 'channelid/' + value
return '<a href="'+url+'">Play</a>'
url = 'stream/channelid/' + value
return "<a href=\"javascript:tvheadend.VLC('"+url+"')\">Play</a>"
}
},
{