WEBUI JS: DVR - fix the Play link in the finished recordings

This commit is contained in:
Jaroslav Kysela 2014-09-09 08:36:09 +02:00
parent 679eae577e
commit 876b734297

View file

@ -235,10 +235,10 @@ tvheadend.dvr_finished = function(panel, index) {
width: 40,
header: "Play",
renderer: function(v, o, r) {
var title = r.data['title'];
var title = r.data['disp_title'];
if (r.data['episode'])
title += ' / ' + r.data['episode'];
return '<a href="play/dvrfile/' + r.data['id'] +
return '<a href="play/dvrfile/' + r.id +
'?title=' + encodeURIComponent(title) + '">Play</a>';
}
}],