Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request option '--playlist-elapsed-max' #25452

Open
glenn-slayden opened this issue May 29, 2020 · 0 comments
Open

request option '--playlist-elapsed-max' #25452

glenn-slayden opened this issue May 29, 2020 · 0 comments
Labels

Comments

@glenn-slayden
Copy link
Contributor

@glenn-slayden glenn-slayden commented May 29, 2020

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2020.05.29
  • I've searched the bugtracker for similar feature requests including closed ones

Description

Requesting a new command line switch which specifies the maximum elapsed time allowed for downloading, per channel or playlist. Any item that starts downloading before the time expires is allowed to complete, even if doing so exceeds the allocated time. This entails that a minimum of 1 video per channel/playlist will always be downloaded.

Details

The proposed option sets a limit on the maximum elapsed time allowed, per channel or playlist, for downloading.

  • A new timer starts for each playlist (or channel) when its first item begins downloading.

  • Any video that starts downloading is allowed to complete.

  • Before downloading each/any additional item(s) in the playlist, the timer is checked. If the allocated time has been exceeded, then download of this playlist is discontinued, and possibly continues by proceeding to the next playlist (if any).

  • A suggested name and usage for the command line option could specify the desired time in seconds, such as, i.e., to allow a total of 3 minutes of downloading per channel or playlist:

    --playlist-elapsed-max 180
    
@ytdl-org ytdl-org deleted a comment from NavnDK May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.