Hey hey.
I use the heck out of tuedachu/ytdl. One thing I would like to improve about it is that when you queue a download with ytdl-download it appears to be a synchronous call and it freezes emacs until youtube-dl/yt-dlp is able to start the actual download.
I’ve yet to dive into the code to see what synchronous function is being called – I’m very aware of the “single-threaded” nature of Emacs – but I use other libraries that are likely shelling and they do not hang like this and so I would like to see if there’s a way to I can bring whatever technique they are using over to a PR against tuedachu/ytdl.
Appreciate any advice from the crew here.
Multi-processing is the only way for staying asynchronous.