Commit 86f086ae authored by Guillaume Lebigot's avatar Guillaume Lebigot

En cas de génération de base de données, ne plus vérifier la présence de mpv

parent 0f62d861
......@@ -11,12 +11,15 @@ export async function checkBinaries(config) {
const binariesPath = configuredBinariesForSystem(config);
const requiredBinariesChecks = [
let requiredBinariesChecks = [
asyncRequired(binariesPath.BinffmpegPath),
asyncRequired(binariesPath.BinffprobePath),
asyncRequired(binariesPath.BinmpvPath)
asyncRequired(binariesPath.BinffprobePath)
];
// We won't check for mpv in case we're generating the database only
// This will make our CI tests faster
if (!config.optGenerateDB) requiredBinariesChecks.push(asyncRequired(binariesPath.BinmpvPath));
try {
await Promise.all(requiredBinariesChecks);
} catch (err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment