diff --git a/ChangeLog b/ChangeLog index 2c24695c..9c6ad5a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-25 Tatsuhiro Tsujikawa + + Added tellStopped XML-RPC method to aria2rpc. + * doc/xmlrpc/aria2rpc + 2009-12-25 Tatsuhiro Tsujikawa Added tellStopped XML-RPC method. This method returns stopped diff --git a/doc/xmlrpc/aria2rpc b/doc/xmlrpc/aria2rpc index 39ff11aa..7f5fc7dd 100755 --- a/doc/xmlrpc/aria2rpc +++ b/doc/xmlrpc/aria2rpc @@ -181,6 +181,7 @@ Usage: #{program_name} addUri URI... [options] #{program_name} tellStatus GID [options] #{program_name} tellActive [options] #{program_name} tellWaiting offset num [options] + #{program_name} tellStopped offset num [options] #{program_name} getOption GID [options] #{program_name} getGlobalOption [options] #{program_name} getFiles GID [options] @@ -244,6 +245,8 @@ elsif command == "tellActive" then result=client.call("aria2."+command) elsif command == "tellWaiting" then result=client.call("aria2."+command, resources[0].to_i(), resources[1].to_i()) +elsif command == "tellStopped" then + result=client.call("aria2."+command, resources[0].to_i(), resources[1].to_i()) elsif command == "getOption" then result=client.call("aria2."+command, resources[0]) elsif command == "getGlobalOption" then