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

Proposed Pause Function

Tags: None
(comma "," separated)
agforsyth
Registered Member
Posts
133
Karma
0

Proposed Pause Function

Thu Dec 17, 2009 11:52 pm
I've returned to KTorrent after not using it for most of the year, and am planning to forward port the "Pause Torrent" patch I submitted last February (https://bugs.kde.org/show_bug.cgi?id=179456) since I regularly use this functionality. If you'd be interested in merging it, I will feed it to you in small, single purpose patches. I believe it's quite useful for several things over the current "Pause KTorrent" functionality:

Granularity: It allows you to pause and resume single torrents etc. instead of all torrents.
Speed: You don't have to re-establish all your peer connections and hit the tracker to stop and start. Not having to reconnect to peers can be a big deal on torrents with a low number of peers or low speed where they may not accept the connection or may not upload to you right away.
Flexibility: Allows files to be moved / renamed / etc without having to stop and start the torrent, avoiding the overhead mentioned above.

This functionality does not in any way affect the queue manger or current pause functionality: a paused torrent in my patch is running and not stalled as far as the queue manager is concerned, and KTorrent as a whole can still be paused and resumed by the user or the bandwidth scheduler.

The one potential conflict is over the use of the word "Pause". I believe that the current functionality is better described as "Suspend / Resume", and the proposed functionality called "Pause / Unpause". Given that the torrent is completely stopped and restarted with all connections lost and the tracker notified with the current "Pause KTorrent" button, it's not really "pausing", as that implies you can pick up right where you left off.

Attached to the bug report mentioned above is the very simple patch to rename the current functionality. As the next version will have a new major version number, it seems like a good time to make this change. I plan to write the rest of the patch over the first couple of days of next week, so please let me know if I'm writing it just for myself or for inclusion in KTorrent.

I'd be interested in any suggestions from other forum members as well.

Adam

Edit: And we're working on it over on the bug report.


Bookmarks



Who is online

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