define url

This commit is contained in:
j 2017-11-16 15:25:45 +01:00
parent a5c6cb875f
commit 3204bc68f6

View file

@ -1296,7 +1296,8 @@ pandora.getClipVideos = function(clip, resolution) {
}());
pandora.getDownloadLink = function(item, rightslevel) {
var torrent = pandora.site.video.torrent;
var torrent = pandora.site.video.torrent,
url;
if (arguments.length == 2 && torrent &&
pandora.hasCapability('canSeeItem', 'guest') < rightslevel) {
torrent = false;