On 2014-04-14 15:03, Linda Walsh wrote:
Carlos E. R. wrote:
That's my problem... I can not do *anything* while Firefox is downloading from youtube!
Have you tried wondershaper?
It does a fair job of prioritizing your network usage so things like DNS have priority over FF.
Maybe I should have a look at it... that would allow the PC doing the download to keep working, but not the rest of the gadgets in the house. I would have to do that on the router, but its controls are insufficient: IP Range: xxx -- xxx Port Range: xxx -- xxx Protocol: All/TCP/UDP Priority: 1..8 Min Rate(Kbps) Max Rate(Kbps) Upstream: XXX XXX Downstream: XXX XXX No way to differentiate youtube traffic. Except... perhaps let the download start, find the IP used, and then create the rule. Possible... cumbersome...
You could route FF through squid so squid can set the TOS bits on all web traffic, to further the actions of wondershaper.
There is a trick via setting the SGID of a binary to mark packages. But it would be the upload that I could control that way, not the download. :-?
+++················ wget "http://r4---sn-h5q7enls.googlevideo.com/videoplayback...
Cannot write to ‘videoplayback?sver=...mv=m&ratebypass=yes’ (File name too long). ················++-
Have you tried specifying the file it should save to? i.e. the "-O" switch?
I did not identify "-O" as the appropriate switch... O:-) This command is easier, it understand "youtube" directly: youtube-dl --write-sub --sub-lang 'en,es' -r 50K \ -f 135 http://www.youtube.com/watch?v=... Does the trick. Almost. It does not do a continuous download at 50K, but perhaps 15..20 seconds at full bandwidth, then 15..20 at full stop. As I assume that its programmer knows his job, then I have to conclude that youtube speed can not be controlled "normally"... :-? I should try perhaps "trickle" in combination with "youtube-dl". -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)