I'm writing a simple script to run mplayer on my MP3 library, to collect stdout and stderr, to detect corrupted files.
In this moment I simply iterate over a list of strings (file names) and run mplayer using Async_shell.run_full_and_error.
Is there a way to run several instances of mplayer concurrently, to speed up the process using my 8-core processor?
I tried Throttle but, as always, I'm probably misusing the library, and Throttle.enqueue waits the termination of each mplayer "task".
Thanks.
P.S. The lesson here is that, once you discover Async, you cannot live without, even for trivial tasks :-)