[Libtorrent-devel] How to execute commands from within rtorrent?

PsiStormYamato psistormyamato at lavabit.com
Sun Oct 9 22:36:12 UTC 2011


lol  I asked this exact same question on the list a while back. The
problem is that the commands listed on the website are the ones for the
newest version of rtorrent. They were different for the old version that
Ubuntu is still using.

To set max_peers:
d.set_peers_max=

If you look under the "History" tab of the "CommandsRaw" page on the
site, you can see all the old versions. The newest version is "4"
It looks like we need to be using version "3":
http://libtorrent.rakshasa.no/wiki/RTorrentCommandsRaw?version=3


On Sun, 2011-10-09 at 13:44 -0700, Kristen Eisenberg wrote:
> I'm obviously getting the syntax wrong because every time I try to
> execute a command from within rtorrent (^X) I get en error of "Command
> xxxxx not found", or "Can't find the '='".
> 
> Can someone give me an example of how to properly issue a command,
> like
> how to set the max_peers for a specific torrent.
> 
> 
> P.S. The reason that I want to set max_peers manually is that rtorrent
> crashes whenever I try to change the max_peers for any specific
> torrent
> incrementally with the number keys. The error says something like
> "number must be between 1 and ^24", but I'm simply trying to increase
> the number from 1 to 6.
> 
> I'm using 0.8.6 from the Ubuntu repos, so the problem may have been
> fixed in 8.7 (which isn't in the repos yet), but I'm just curious what
> the deal is. 




More information about the Libtorrent-devel mailing list