add option to have direct download instead of torrent

This commit is contained in:
j 2013-09-14 14:09:37 +00:00
commit f3c9d7b7af
9 changed files with 42 additions and 3 deletions

View file

@ -928,6 +928,9 @@ pandora.getClipVideos = function(clip, resolution) {
};
}());
pandora.getDownloadLink = function(item) {
return '/' + item + (pandora.site.video.torrent ? '/torrent/' : '/download/');
}
pandora.getEditTooltip = function(title) {
return function(e) {