[Libtorrent-devel] Setting up multiple/conditional event.download.finished?

Balaji Dutt balaji.dutt at gmail.com
Mon Feb 9 08:25:02 UTC 2009


Hi,

So I tried to setup the branch condition but clearly I'm missing something.
Here's the extract of my rtorrent.rc file:

system.method.set_key =
> event.download.finished,check_custom1,"branch=d.get_custom1=,d.set_directory=$d.get_custom1=,d.set_directory=/var/torrent_downloads/completed/"
>
> system.method.set_key =
> event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=
> ;d.set_directory=$d.set_directory"
>

I tested this will a small torrent and my execute_log has the following
error:

--- Error ---
>
> ---
> mv -u /var/torrent_downloads/in_progress/Dev D - (2009) - [MP3-Vbr-320Kbps]
> - Team IcTv
> ---
> mv: missing destination file operand after
> `/var/torrent_downloads/in_progress/Dev D - (2009) - [MP3-Vbr-320Kbps] -
> Team IcTv'
> Try `mv --help' for more information.
>

Could someone help me figure out how to set my target parameter on the mv
command?

--
Balaji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rakshasa.no/pipermail/libtorrent-devel/attachments/20090209/98e5ea16/attachment.html


More information about the Libtorrent-devel mailing list