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

[Discussion]Adding save-state to youtube-dl #2290

Closed
sahutd opened this issue Feb 2, 2014 · 1 comment
Closed

[Discussion]Adding save-state to youtube-dl #2290

sahutd opened this issue Feb 2, 2014 · 1 comment
Labels

Comments

@sahutd
Copy link
Contributor

@sahutd sahutd commented Feb 2, 2014

hello peeps,
i would like to propose a new feature to this software - an ability to save the current state and then be able to resume at a later time.the restart could be done by passing a command line arg such as youtube-dl --resume-state or something else to that effect.
the process would something like,
before the start of each subprocess(like download,extract etc.)save the state of the current execution in a predefined format into a state file.if the program happens to terminate for whatever reason during that subprocess,we will have all the information required to get youtube-dl to that state at any time.

i would like to know if the community would be interested in such a feature.if they are,i too would like to contribute to shaping this feature

bye

NS:if such a feature exist,feel free to close this issue.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 2, 2014

While I wouldn't necessarily deny such a feature, I'm not sure what the feature would be used for. You can just rerun youtube-dl and it will gather all the necessary information. Can you elaborate on the feature's usage scenarios?

Note that the state is often short-lived because access tokens expire, and the requesting IP address must usually stay constant. You may also want to have a look at the --load-info option, which allows you to divide extraction and download into two steps.

@sahutd sahutd closed this Feb 6, 2014
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
2 participants
You can’t perform that action at this time.