-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dated subdirectories #413
Dated subdirectories #413
Conversation
When output files collected with split_on_transmission are being collected for a long time the output directories become inconvenient to navigate. They can have a huge amount of individual .mp3 files. This patch adds a configuration option that will put files in dated subdirectories. For example, the file: output_dir/prefix_20230831_204504.mp3 with the dated_subdirectories option will be saved like so: output_dir/2023/08/31/prefix_20230831_204504.mp3 Proposed wiki addition: * `dated_subdirectories` (boolean, optional) - when enabled will create daily subdirectories under the specified directory. The directories follow the pattern directory/YYYY/MM/DD. The default is false.
Closing a memory leak from previous commit.
- pull file / directory methods into new helper_functions.cpp/h - add unit tests for helper_functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for improving it :)
Left a few comments. Looks good! |
not seeing any new comments . . . . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for improving this!
@marcin-osowski can you take a look? This is basically the same as your #407 except I took the opportunity to convert
char *
tostring
and moved to a new source file so unit tests can be added