add priority language setting

This commit is contained in:
TheBeastLT
2021-09-14 21:15:13 +02:00
committed by TheBeastLT
parent 6b1bb8ebba
commit f1a2a69170
4 changed files with 49 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
const { DebridOptions } = require('../moch/options');
const { QualityFilter, Providers } = require('./filter');
const { LanguageOptions } = require('./sort');
const PRE_CONFIGURATIONS = {
lite: {
@@ -54,7 +55,8 @@ function liteConfig() {
function brazucaConfig() {
const config = {};
config[Providers.key] = ['nyaasi', 'comando', 'comoeubaixo', 'lapumia', 'ondebaixa'];
config[Providers.key] = Providers.options.map(provider => provider.key).filter(key => key !== 'rutor');
config[LanguageOptions.key] = 'portuguese';
return config;
}