We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This setting is ignored.
The text was updated successfully, but these errors were encountered:
Problem is that we are comparing "difficulty": "N", to "normal" etc.
"difficulty": "N",
if (category === VideoCategory.Raids) { const { difficulty } = metadata; const orderedDifficulty = ['lfr', 'normal', 'heroic', 'mythic']; const minDifficultyToUpload = cfg .get<string>('cloudUploadRaidMinDifficulty') .toLowerCase(); if (difficulty === undefined) { console.info('[configUtils] Undefined difficulty, not blocking'); return true; } const actualIndex = orderedDifficulty.indexOf(difficulty); const configuredIndex = orderedDifficulty.indexOf(minDifficultyToUpload); if (actualIndex < 0) { console.info('[configUtils] Unrecognised difficulty, not blocking'); return true; } if (actualIndex < configuredIndex) { console.info('[configUtils] Raid encounter below upload threshold'); return false; } }
Sorry, something went wrong.
30e4e5f
No branches or pull requests
This setting is ignored.
The text was updated successfully, but these errors were encountered: