remove torrent backend

This commit is contained in:
j 2023-07-10 14:31:15 +05:30
commit 83df2c0011
12 changed files with 29 additions and 142 deletions

View file

@ -895,7 +895,12 @@ pandora.ui.infoView = function(data, isMixed) {
} else if (capability.name == 'canPlayVideo') {
pandora.UI.set({itemView: ui.videoView});
} else if (capability.name == 'canDownloadVideo') {
document.location.href = '/' + ui.item + '/torrent/';
pandora.ui.downloadVideoDialog({
item: ui.item,
rightsLevel: data.rightsLevel,
title: data.title,
video: data.video
}).open();
}
}
}