This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Future Request - Bandwidth limits for a time

Tags: None
(comma "," separated)
Dendy
Registered Member
Posts
6
Karma
0
The present.

Current KTorrent has cool future - limit up/down bandwidth and even pausing whole set of torrents. It very useful from system tray when you have to quickly download/upload something outside KTorrent and don't want to wait. So you just select:
Menu -> Set max download speed -> ...
... and...

The problem.

And the problem in that that after you successfully downloaded/uploaded wherever you want - you just _forgot_ to clear limits in KTorrent back to normal. And KTorrent silently continue to work on low-speeds. From time to time I constantly figure out that KTorrent still uses limits, sometimes for hours, sometimes for day and even more!

Future Request.

Implement some sort of limits for a specified timeout. For example in the tray will be an additional menu:
Menu -> Timeouted download speed -> 50 KB -> For a 30 minutes.

I can implement it by myself, but if it can't be done as plugin I need an approve from authors to include patch in the main branch.

By the way, nice code!
George
Moderator
Posts
5421
Karma
1

Sun Jul 13, 2008 8:54 am
Maybe not a bad idea to put in a script (I'm working on a scripting plugin)
Dendy
Registered Member
Posts
6
Karma
0

Sun Jul 13, 2008 12:39 pm
So do you mean KTorrent will have a plugin interface for scripts (like python, QtScript) and simple addons could be done without compile? That's would be nice. I really don't know the KTorrent code so I can only suppose, but from my point of view future like I have suggested before must be integrated inside application's core.

Because when user selects new bandwidth speed permanently - previous timers must be stopped. And when user select timeouted bandwidth - it must store previous value (to reset later after timeout) of permanent bandwidth speed, not current.

I assume that bandwidth speed kind (permanent or timeouted) and speed itself (permanent and current) must be stored somewhere inside KTorrent state machine.
George
Moderator
Posts
5421
Karma
1

Sun Jul 13, 2008 4:27 pm
Dendy wrote:So do you mean KTorrent will have a plugin interface for scripts (like python, QtScript) and simple addons could be done without compile?


Yes, we will use kross to support a lot of scripting languages (python, ruby, javascript, QtScript, java, falcon ...)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]