Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add pause/resume/stop functionality #2764
Comments
|
Just a hint: youtube-dl automatically resumes download if you use the same parameters and the same file name. |
|
@MrS0m30n3 How to send the pause/resume/stop commands? |
|
If you want to pause or stop the download, just press Ctrl-C, and youtube-dl will exit. Run the same command again, and youtube-dl will resume the download where it stopped. @MrS0m30n3, that's quite a sizable patch, but I've mentioned it in the IRC channel, and someone should take a look at it eventually. |
|
@MrS0m30n3 If you want code to be integrated into mainline youtube-dl, please submit a pull request. That allows us to discuss and review it together. |
|
@MrS0m30n3 Looking at the differences, they are huge. Make sure to split up large changes into multiple small (obvious) ones. Additionally, I would strongly discourage splitting youtube-dl into normal and extended - what would you do if someone else has another improvement? Call it advanced? |
|
I'm closing this issue now, you can simply kill youtube-dl and then re-invoke it. |
I think it would be really useful if you could add pause/resume/stop download functionality on youtube-dl. I tried to implement it you can take a look here: https://github.com/MrS0m30n3/youtube-dl/commit/3d6a61be64e9bde330fc5efa082fbbbe8081013f
I also added an easy to use YoutubeDLExtendedObject with auto command line parsing.