[Libtorrent-devel] rTorrent 0.8.4 - ratio and on_finished

Björn Ketelaars bjorn.ketelaars at hydroxide.nl
Tue Dec 2 08:13:18 UTC 2008


Hello,

I'm having some difficulties with the new ratio handling in 0.8.4. If I
understand correctly, I have to replace [1]:

schedule = ratio,60,60,"stop_on_ratio=100,500M,150,d.erase="

With:

# Enable the default ratio group.
ratio.enable=

# Change the limits, the defaults should be sufficient.
ratio.min.set=100
ratio.max.set=150
ratio.upload.set=500M

# 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'. 


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?

Kind regards,

Björn


[1] http://libtorrent.rakshasa.no/wiki/RTorrentRatioHandling
[2]
http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks#Movecompletedtorrents


More information about the Libtorrent-devel mailing list