Feature request: Batch a whole directory of tracks
CorgiMan opened this issue · 3 comments
CorgiMan commented
Would be nice if you can just run the command on a whole directory of files.
CorgiMan commented
In the meanwhile using this command:
for s in ~/Music/folder/*.mp3;
do if [ ! -f "${s:0:-4}.stem.m4a" ]; then
./stemgen -i "$s";
mv "output/$(basename "${s:0:-4}").stem.m4a" "${s:0:-4}.stem.m4a";
else
echo Skipping "$s". Stem already exists;
fi ;
done
axeldelafosse commented
If you are on macOS, you can do this with the droplet: https://github.com/axeldelafosse/stemgen#how-to-use-the-droplet
axeldelafosse commented
Closing this because I don't intend to add more support for this feature. You can either create your own wrapper (I'm personally using Stemgen in a NestJS API with a proper queue) or you can use the droplet on macOS