[Libtorrent-devel] "on_finished" order of execution
Suresh Kumar
sureshkumar.pp at gmail.com
Wed Oct 7 19:59:31 UTC 2009
At Wed, 07 Oct 2009 12:34:12 +0300,
Suresh Kumar wrote:
>
> Having a separate script to do the required things sounds like a
> reasonable solution, though I would like to see if it can be done
> within the rtorrent.
For the record,
I ended up having a script for this purpose
in my rtorrent.rc
,----
| system.method.set_key = event.download.finished, zlink3,
| "execute=/home/suresh/bin/rtorrent_finished.sh,$d.get_name=;d.set_directory=/media/files/"
`----
and the rtorrent_finished.sh
,----
| #! /bin/sh
|
| ln -s -t /media/finished/ /media/files/"$1"
`----
Any suggestion to avoid the use of script would be great
Thanks,
Suresh
More information about the Libtorrent-devel
mailing list