You are not logged in.
Hey guys, I've been scouring the internet trying to figure out how exactly the rtorrent RC language works, and i think I have an idea of how to do what I want to do, but my syntax might be wrong, well, I know it probably is, because it's not working.
system.method.insert=check1,simple,"\"$equal={d.get_custom1=,landof.tv}\""
system.method.insert=check2,simple,"\"$equal={d.get_custom1=,broadcasthe.net}\""
system.method.insert=check3,simple,"\"$equal={d.get_custom1=,tv}\""
system.method.insert=istv,simple,"or={check1=,check2=,check3=}"
system.method.insert = d.get_finished_dir,simple,branch="istv,/shared/downloads/torrents/tv,/shared/downloads/torrents/"
system.method.set_key = event.download.finished,move_complete,"d.set_directory=$d.get_finished_dir=;execute=mv,-u,$d.get_base_path=,$d.get_finished_dir="
system.method.set_key=event.download.finished,notifier,"execute=/shared/prowlNotifier,$d.get_name=,myname,$d.get_hash="
i'm trying to move torrents to a tv directory, if the label is tv, broadcasthe.net or landof.tv, otherwise, just keep the torrents where they are. I set rutorrent to label everything with the tracker automatically... what am I missing?
looking at the exec logs, the call to move.php contains my original torrent directory. When i changed the branch statement to something else (like poop), it had no affect on the log, so i assume that code isn't being hit.
Offline
For starters, your quoting is wrong, you pass a single param to branch, instead of quoting the branch to make it one arg for method.insert.
Offline