disable browser streaming links for RD

This commit is contained in:
TheBeastLT
2022-01-13 19:27:58 +01:00
parent 4ad1db82ba
commit c3b37b3537

View File

@@ -288,10 +288,10 @@ async function _unrestrictFileLink(RD, fileLink, torrent, fileIndex, isBrowser)
if (isArchive(response.download)) {
return StaticResponse.FAILED_RAR;
}
if (isBrowser && response.streamable) {
return RD.streaming.transcode(response.id)
.then(streamResponse => streamResponse.apple.full)
}
// if (isBrowser && response.streamable) {
// return RD.streaming.transcode(response.id)
// .then(streamResponse => streamResponse.apple.full)
// }
return response.download;
})
.then(unrestrictedLink => {