jeff-hughes / shellcaster

Terminal-based podcast manager built in Rust
GNU General Public License v3.0
199 stars 13 forks source link

"Download all" is useless for anything more than a few files #7

Closed jeff-hughes closed 4 years ago

jeff-hughes commented 4 years ago

Right now, if you select "download all", the app will try to simultaneously download all the episodes for the current podcast. If there are more than a few episodes in the list, this is going to end in disaster. Either there are going to be timeout issues, or else downloading 100 files at the same time is going to mean the download speeds will be extremely slow.

I need to implement a queuing system to feed in a few episodes at a time, and handle the futures as they complete. This should also be done in a new thread: see #6.