disable browser streaming links for RD
This commit is contained in:
parent
4ad1db82ba
commit
c3b37b3537
1 changed files with 4 additions and 4 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue