[Libtorrent-devel] Using branch and if commands
Steven Adams
steve at drifthost.com
Thu Nov 27 11:03:52 UTC 2008
Hi All,
I'm just trying to work out how the branch and if commands work with
rtorrent on version 0.8.4.
I've read the wiki but still don't really understand.
1. What does branch do exactly??
2. Does an if command execute the command after the comma? So for
example the below if will execute all the stuff in the quotes. When
rtorrent see's the ; character does it just execute another command?
(hope that makes sense)
on_finished =
move_complete,"if=d.get_custom4=,\"execute=mv,-u,$d.get_base_path=,$d.get_custom1=;d.set_directory=$d.get_custom1=;print=test\""
3. If i have
if=d.get_custom4=print=test1,print=test2
What does the comma mean?? Does rtorrent just treat it as a delimiter to
find what commands to execute?
Thanks
Steve
More information about the Libtorrent-devel
mailing list