[addon] updates moch options object

This commit is contained in:
TheBeastLT
2020-05-12 17:47:52 +02:00
parent cb0448af35
commit 836ebca918

View File

@@ -9,24 +9,28 @@ const { cacheWrapResolvedUrl } = require('../lib/cache');
const RESOLVER_HOST = process.env.RESOLVER_HOST || 'http://localhost:7050'; const RESOLVER_HOST = process.env.RESOLVER_HOST || 'http://localhost:7050';
const MOCHS = { const MOCHS = {
'realdebrid': { realdebrid: {
key: 'realdebrid', key: 'realdebrid',
instance: realdebrid, instance: realdebrid,
name: "RealDebrid",
shortName: 'RD' shortName: 'RD'
}, },
'premiumize': { premiumize: {
key: 'premiumize', key: 'premiumize',
instance: premiumize, instance: premiumize,
name: 'Premiumize',
shortName: 'PM' shortName: 'PM'
}, },
'alldebrid': { alldebrid: {
key: 'alldebrid', key: 'alldebrid',
instance: alldebrid, instance: alldebrid,
name: 'AllDebrid',
shortName: 'AD' shortName: 'AD'
}, },
'putio': { putio: {
key: 'putio', key: 'putio',
instance: putio, instance: putio,
name: 'Put.io',
shortName: 'Putio' shortName: 'Putio'
} }
}; };
@@ -115,4 +119,4 @@ function populateDownloadLinks(streams, mochResults) {
return streams; return streams;
} }
module.exports = { applyMochs, resolve } module.exports = { applyMochs, resolve, MochOptions: MOCHS }