sylviiu / ezytdl

Advanced electron-based frontend for yt-dlp
GNU General Public License v3.0
533 stars 21 forks source link

Ability to pause the queue #103

Open paulcsiki opened 11 months ago

paulcsiki commented 11 months ago

I would like the ability to pause and resume the queue on demand.

sylviiu commented 11 months ago

i do agree! pausing the queue would be a very nice add-on :D

i'm currently not aware of any way to actively pause a download (i know linux (maybe mac too??) has SIGSTOP & SIGCONT but i'm not sure how effective those are), so i can definitely have it stop queuing after the current active downloads complete for now.

i'll look into this soon!

paulcsiki commented 11 months ago

Thank you, yes, I don't expect it to paise active downloads just not start new ones.

pukkandan commented 9 months ago

i'm currently not aware of any way to actively pause a download

Downloads can be cancelled by raising a yt_dlp.utils.DownloadCancelled inside a progress hook. You could make an action in https://github.com/sylviiu/ytdlp-pybridge/ to do that. They can be resumed as long as --no-continue flag isn't passed and the website supports resuming (most do)