mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[addon] filter realdebrid cached entries to contain ony videos
This commit is contained in:
@@ -131,7 +131,11 @@ function applyMochs(streams, config) {
|
||||
return Object.keys(config)
|
||||
.filter(configKey => MOCHS[configKey])
|
||||
.reduce(async (streams, moch) => {
|
||||
return await MOCHS[moch].applyMoch(streams, config[moch]).catch(() => streams);
|
||||
return await MOCHS[moch].applyMoch(streams, config[moch])
|
||||
.catch(error => {
|
||||
console.warn(error);
|
||||
return streams;
|
||||
});
|
||||
}, streams);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user