* Added 'event.download.inserted_{new,session}' that are triggered

when a new or a session torrent is added. Ticket #1516.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1075 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2008-10-28 17:59:40 +00:00
parent 29ba4ff4bc
commit 5648cf7dd0
5 changed files with 17 additions and 27 deletions
+10 -1
View File
@@ -174,17 +174,26 @@ main(int argc, char** argv) {
rpc::parse_command_multiple
(rpc::make_target(),
"system.method.insert = event.download.inserted,list\n"
"system.method.insert = event.download.inserted_new,list\n"
"system.method.insert = event.download.inserted_session,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"
"system.method.set_key = event.download.inserted, 1_connect_logs, d.initialize_logs=\n"
"system.method.set_key = event.download.inserted_new, 1_prepare, \"branch=d.get_state=,view.set_visible=started,view.set_visible=stopped ;d.save_session=\"\n"
"system.method.set_key = event.download.inserted_session, 1_prepare, \"branch=d.get_state=,view.set_visible=started,view.set_visible=stopped\"\n"
"system.method.set_key = event.download.erased, 0_download_list, ui.unfocus_download=\n"
"system.method.set_key = event.download.erased, 9_delete_tied, d.delete_tied=\n"
"set_name = \"$cat=$system.hostname=,:,$system.pid=\"\n"
// Currently not doing any sorting on main.