Nettoyer le code en supprimant les importations inutilisées et en décommentant des fonctions pour améliorer la lisibilité.

This commit is contained in:
2025-04-03 09:02:34 +02:00
parent ed853ab0f7
commit a33e517a8a
16 changed files with 1091 additions and 56 deletions

View File

@@ -1,9 +1,9 @@
const { exec } = require('child_process');
exec('ffmpeg -version', (error, stdout, stderr) => {
exec('ffmpeg -version', (error) => {
if (error) {
console.log('FFmpeg is not installed. Installing FFmpeg...');
exec('apt update && apt install -y ffmpeg', (installError, installStdout, installStderr) => {
exec('apt update && apt install -y ffmpeg', (installError) => {
if (installError) {
console.error(`Error installing FFmpeg: ${installError}`);
return;