[addon] include bingeGroup in debrid download links

This commit is contained in:
TheBeastLT
2021-06-18 21:36:05 +02:00
parent 2c85ca2ec4
commit f1a0bbb23e

View File

@@ -169,7 +169,8 @@ function populateDownloadLinks(streams, mochResults) {
streams.push({ streams.push({
name: `[${mochResult.moch.shortName} download] ${stream.name}`, name: `[${mochResult.moch.shortName} download] ${stream.name}`,
title: stream.title, title: stream.title,
url: `${RESOLVER_HOST}/${mochResult.moch.key}/${cachedEntry.url}` url: `${RESOLVER_HOST}/${mochResult.moch.key}/${cachedEntry.url}`,
behaviorHints: stream.behaviorHints
}) })
} }
})); }));
@@ -194,4 +195,4 @@ function badTokenStreamResponse(mochKey) {
}; };
} }
module.exports = { applyMochs, getMochCatalog, getMochItemMeta, resolve, MochOptions: MOCHS } module.exports = { applyMochs, getMochCatalog, getMochItemMeta, resolve, MochOptions: MOCHS }