Open vr2262 opened 8 years ago
Here's some example code that would accomplish this: https://github.com/MilliVolt/matcher/compare/multiprocess-make-matches-plus...multiprocess-make-matches-plus-subprocesses
i think these approach make sense. i just want to see how i got stuck in my queue forming activity. asyncio queue is indeed good.
Whatever works...
I've been looking at https://docs.python.org/3/library/asyncio-subprocess.html
I think a good approach would be to have a script that I can call asynchronously to get all the data I need for a video. Something like
$ ./get_video_data
or$ ./get_video_data url_id
, perhaps with one of these: https://docs.python.org/3/library/asyncio-queue.htmlThoughts?