dmulholl / mp3cat

A command line utility for joining MP3 files.
https://www.dmulholl.com/dev/mp3cat.html
The Unlicense
185 stars 22 forks source link

add grouping option to group a smaller chunk of files and output multiple files #24

Closed navapias closed 1 year ago

navapias commented 2 years ago

Problem Statement

This project was very helpful in merging audio files locally. But it was merging all the files together(122 files in total). It would have better to have an option to merge smaller chunks of files with multiple outputs.

Solution

Modified the code to add the a grouping option. An integer input can be passed to mention as to how many files can be grouped together to form a single output file.

Example command - mp3cat -g 5 --dir {dir} --output {output-file}

dmulholl commented 1 year ago

Thanks for this, I'm glad you found the tool useful!

I'm not going to merge the PR as my plan is to keep mp3cat as simple as possible, but you're very welcome to create a fork with the extra functionality.

You might also want to check out mp3binder: https://github.com/crra/mp3binder. It's an existing fork with lots of extra features.