From f1a0bbb23e8dc861673561c812402461e9cd7662 Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Fri, 18 Jun 2021 21:36:05 +0200 Subject: [PATCH] [addon] include bingeGroup in debrid download links --- addon/moch/moch.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addon/moch/moch.js b/addon/moch/moch.js index 1f3214d..e418b2f 100644 --- a/addon/moch/moch.js +++ b/addon/moch/moch.js @@ -169,7 +169,8 @@ function populateDownloadLinks(streams, mochResults) { streams.push({ name: `[${mochResult.moch.shortName} download] ${stream.name}`, 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 } \ No newline at end of file +module.exports = { applyMochs, getMochCatalog, getMochItemMeta, resolve, MochOptions: MOCHS }