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.
How can I get youtube-dl to slow down for a moment when other applications (e.g. web browser) need internet bandwidth? #6114
Comments
|
Shaping bandwidth and prioritizing traffic are responsibilities of routing software not end-user program. You'll need to figure out how to prioritize traffic for "important" applications (e.g. your browser) on your OS or if it's not capable to do it out of the box install some personal network shaper/balancer with per applications policies. |
As someone who doesn't have internet at home, I love using Youtube-dl when I'm at a coffee shop and downloading all the youtube videos for viewing offline when I'm back home. Thank you, developer(s).
How can I have bandwidth-maximizers (a euphemism for bandwidth hogs) like youtube-dl and wget to automatically yield bandwidth to other applications, without my having to specify a maximum download speed?
Let's say I'm downloading a 500mb Youtube video. If internet bandwidth is used exclusively for the video, let's say it would take 10 minutes to download. Let's say that at the fifth minute of downloading, I need to check a website on my web browser. I find that the webpage loads very very slowly (if at all). I could do several things, all not ideal:
I'd rather youtube-dl (or wget) be sensitive to other applications/programs on my linux computer and temporarily decrease download speed when it senses other programs are in need of the internet. Is this possible? How can I do this?