[Libtorrent-devel] rtorrent if= command

Jari Sundell jaris at student.matnat.uio.no
Tue Jan 22 15:56:22 UTC 2008


Peter Lundkvist wrote:
> on_finished = 
> test1,"if=$d.get_custom1=,d.set_directory=$d.get_custom1=,d.set_directory=/abc/def/" 
> 
> 
> This however does not seem to work. I get no error, but the directory is 
> not changed.
> Can maybe someone give me an example of a working if= command?

You may no use the "branch" command in svn HEAD, which execute all 
string arguments as if they were commands.

on_finished = 
test1,"branch=d.get_custom1=,d.set_directory=$d.get_custom1=,d.set_directory=/abc/def/" 


Haven't tested this specific command, but it should now work.

Jari Sundell


More information about the Libtorrent-devel mailing list