[Libtorrent-devel] rTorrent 0.8.4 - ratio and on_finished

Jari Sundell sundell.software at gmail.com
Wed Dec 3 16:55:36 UTC 2008


Björn Ketelaars wrote:
> # Changing the command triggered when the ratio is reached.
> system.method.set = group.seeding.ratio.command, d.close=, d.erase=
> 
> Unfortunately the behavior is not the same. The new command closes the
> download, but does not remove the torrent from the view nor from the
> 'watch-directory'. 

I'm using the same command, for a custom 'group_1' view, and it's 
working as intended for me. Have you added any other triggers, like for 
on_close, etc?

> Another difficulty I'm experiencing is that rTorrent 0.8.4 is complaining
> about using on_finished (something about on_* command is deprecated). At
> the moment I'm using [2]:
> 
> on_finished = move_complete,"d.set_directory=~/Download/
> ;execute=mv,-u,$d.get_base_path=,~/Download/"
> 
> This does not work, the downloaded torrent is not moved. Is there a 0.8.4
> alternative for this command?

E.g:

system.method.set_key = event.download.inserted_new, print_info, 
print=Started_a_new_torrent.

Jari Sundell


More information about the Libtorrent-devel mailing list