Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes Made
Refactor Main Entry File
await
operator to theytdl.downloadFromInfo
function call.Initialize
acodecs-cvt
Fileacodecs-cvt
.convertToMp3
that converts any audio codecs to MP3 codec.optionsMp3
.Maintanances
Dependencies
fluent-ffmpeg
dependency (production).All commits
acodecs-cvt
moduleindex.js
fluent-ffmpeg
dependency❗ Disadvantages
Concurrent execution is a significant disadvantage when doing audio conversion with numerous processes. Concurrent process execution may result in the collision of progression percentages, thereby causing confusion and mistakes in tracking the individual progress of each process. This lack of synchronization in progress reporting might lead to a less intuitive user experience and make determining the real-time state of each conversion process difficult. To minimize this disadvantage, a synchronized approach to progress reporting might be considered.
Summary
This pull request introduces several enhancements and a new feature to convert the downloaded audio to MP3 codec. It includes refactoring, the addition of functionalities, and the introduction of a new module for audio codecs conversion (
acodecs-cvt
).