[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 179456] KTorrent does not allow you to pause individual torrents
From:       Adam Forsyth <agforsyth () gmail ! com>
Date:       2009-01-03 8:33:47
Message-ID: 20090103083347.1A0281406A () immanuel ! kde ! org
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=179456





--- Comment #1 from Adam Forsyth <agforsyth gmail com>  2009-01-03 09:33:46 ---
Created an attachment (id=29855)
 --> (http://bugs.kde.org/attachment.cgi?id=29855)
patch to add the pause torrent feature to ktorrent

This patch adds basic pause torrent functionality to KTorrent. It also renames
the current queue pause function to "Suspend / Resume" which more closely
describes what it does and allows for the word "pause" to be used
unambiguously.

It's changes to libbtcore are very nearly identical to those I've used without
issue since June 2008. I didn't submit it then because it removed the queue
suspend functionality completely. I have just now had time to update to the
latest KTorrent -- I was using a svn build from October -- and rewrite the
patch for the current codebase.

The patch, in addition to stopping network traffic, saves the current chunks to
disk so that the files can safely be moved. I will to convert the move file /
move data functions to use the pause function rather than stop the torrent in a
couple of days when I get a chance.

I did not add any of the actions to the toolbars or context menu in
ktorrentui.rc. I use KTorrent at a very low resolution so it's better if
someone with a more usual resolution decided where to add more buttons.
Personally, I add Pause Torrent / Unpause Torrent and Pause All / Unpause All
to a toolbar and Pause / Unpause All in Current View to the context menu so I
can easily pause all uploads or downloads.

As it is now, the patch can be committed without it changing anything visible
to the user other than the name of the Queue Suspend / Resume functionality.
This is really the only feature I ever used in another BitTorrent client that
is not in KTorrent 3, now that there is a syndication plugin.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic