]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Added a play link that will start to play the dvr file in the media player
authorsb1066 <sb1066@gmail.com>
Sun, 11 Jul 2010 17:40:27 +0000 (17:40 +0000)
committersb1066 <sb1066@gmail.com>
Sun, 11 Jul 2010 17:40:27 +0000 (17:40 +0000)
src/webui/static/app/dvr.js

index e2465e2b37ab3cdc9dd66589f17b3c15a187e9b8..7121138f7a88695e81b16d929689fdfe820dcf21 100644 (file)
@@ -46,7 +46,9 @@ tvheadend.dvrDetails = function(entry) {
     if(entry.url != null && entry.filesize > 0) {
        content += '<div class="x-epg-meta">' +
            '<a href="' + entry.url + '" target="_blank">Download</a> '+
-           parseInt(entry.filesize/1000000) + ' MB</div>';
+           parseInt(entry.filesize/1000000) + ' MB<br>' + 
+           "<a href=\"javascript:tvheadend.VLC('" + entry.url + "')\">Play</a>" +
+           '</div>';
     }
 
     var win = new Ext.Window({