Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.13k stars 90 forks source link

Clarify --no-wait behavior? #185

Closed andrewtnas closed 5 months ago

andrewtnas commented 5 months ago

I'm confused on how this flag behaves if the stream hasn't started yet. for no-wait, does it just try to download a future stream once and then gives up if it hasn't started? if the stream hasn't started by the scheduled time, will it retry?

Kethsar commented 5 months ago

It quits outright if the stream has not started. I'll be sure to update the wording in the help message.

andrewtnas commented 5 months ago

thank you! so if a download is set to wait for the start date, do we have to include the --retry-stream or is there some builtin counter to retry?

Kethsar commented 5 months ago

If you use --wait it will initially wait until the scheduled start time. If the stream has still not started, it will poll every 15 seconds. If you use --retry-stream it will just poll in the given interval, though no less than 15 seconds.

andrewtnas commented 5 months ago

thank you