From 303cffec8d30f04335fc42df422d5c4b127ed343 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 27 Sep 2011 22:25:47 +0900 Subject: [PATCH] Added getServers and forceRemove method to aria2rpc --- doc/xmlrpc/aria2rpc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/xmlrpc/aria2rpc b/doc/xmlrpc/aria2rpc index a493a2dd..eabe911e 100755 --- a/doc/xmlrpc/aria2rpc +++ b/doc/xmlrpc/aria2rpc @@ -236,6 +236,7 @@ Usage: #{program_name} addUri URI... [options] #{program_name} addTorrent /path/to/torrent_file URI... [options] #{program_name} addMetalink /path/to/metalink_file [options] #{program_name} remove GID [options] + #{program_name} forceRemove GID [options] #{program_name} pause GID [options] #{program_name} pauseAll [options] #{program_name} forcePause GID [options] @@ -252,6 +253,7 @@ Usage: #{program_name} addUri URI... [options] #{program_name} getFiles GID [options] #{program_name} getUris GID [options] #{program_name} getPeers GID [options] + #{program_name} getServers GID [options] #{program_name} purgeDownloadResult [options] #{program_name} removeDownloadResult GID [options] #{program_name} changeOption GID [options] @@ -337,6 +339,8 @@ elsif command == "unpauseAll" then result=client.call("aria2."+command) elsif command == "remove" then result=client.call("aria2."+command, resources[0]) +elsif command == "forceRemove" then + result=client.call("aria2."+command, resources[0]) elsif command == "changePosition" then result=client.call("aria2."+command, resources[0], resources[1].to_i(), resources[2]) @@ -346,6 +350,8 @@ elsif command == "getUris" then result=client.call("aria2."+command, resources[0]) elsif command == "getPeers" then result=client.call("aria2."+command, resources[0]) +elsif command == "getServers" then + result=client.call("aria2."+command, resources[0]) elsif command == "purgeDownloadResult" then result=client.call("aria2."+command) elsif command == "removeDownloadResult" then