mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 06:39:23 +00:00
* Use user-modifiable commands instead of slots for the 'on_*' events.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1070 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+14
-2
@@ -171,8 +171,20 @@ main(int argc, char** argv) {
|
||||
// torrent::ConnectionManager* are valid etc.
|
||||
initialize_commands();
|
||||
|
||||
rpc::parse_command_multiple(rpc::make_target(),
|
||||
// "set_name = $cat={$system.hostname=,:,$system.pid=}\n"
|
||||
rpc::parse_command_multiple
|
||||
(rpc::make_target(),
|
||||
"system.method.insert = event.download.inserted,list\n"
|
||||
"system.method.insert = event.download.erased,list\n"
|
||||
"system.method.insert = event.download.opened,list\n"
|
||||
"system.method.insert = event.download.closed,list\n"
|
||||
"system.method.insert = event.download.resumed,list\n"
|
||||
"system.method.insert = event.download.paused,list\n"
|
||||
|
||||
"system.method.insert = event.download.finished,list\n"
|
||||
"system.method.insert = event.download.hash_done,list\n"
|
||||
"system.method.insert = event.download.hash_removed,list\n"
|
||||
"system.method.insert = event.download.hash_queued,list\n"
|
||||
|
||||
"set_name = \"$cat=$system.hostname=,:,$system.pid=\"\n"
|
||||
|
||||
// Currently not doing any sorting on main.
|
||||
|
||||
Reference in New Issue
Block a user