-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(audioconv): Improve
ffmpeg
bin check and error handling
- Removed the promisified `exec` call for `ffmpeg -version` check and replaced it with a more reliable `spawnSync` approach. - Refined the environment variable check for `FFMPEG_PATH` to ensure it is not null or undefined before proceeding. - Enhanced `splitOptions` to correctly handle options without values, avoiding accidental concatenation with subsequent options. - Streamlined error handling and logging for better clarity during the `ffmpeg` check process.
- Loading branch information
Showing
1 changed file
with
18 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters