-
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.
#2 feat: Add ConfigSingleton method to retrieve minimum duration
Added `getMinDurationSeconds()` method to the `ConfigSingleton` class in `ConfigSingleton.cpp` to retrieve the minimum duration in seconds for processing an MP3 file. The minimum duration is read from the configuration file and is used in the `fileProcessor.cpp` module to validate the duration of the file before processing. If the duration is less than the minimum duration, the file is removed.
- Loading branch information
swiftraccoon
committed
Nov 14, 2023
1 parent
d1daf3b
commit d96e104
Showing
4 changed files
with
24 additions
and
53 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
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
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
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