2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Added tellStopped XML-RPC method to aria2rpc.
	* doc/xmlrpc/aria2rpc
pull/1/head
Tatsuhiro Tsujikawa 2009-12-25 14:46:59 +00:00
parent 4e294c7129
commit 17a1bfea09
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added tellStopped XML-RPC method to aria2rpc.
* doc/xmlrpc/aria2rpc
2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added tellStopped XML-RPC method. This method returns stopped

View File

@ -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