Custom Query (2449 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (604 - 606 of 2449)

Ticket Resolution Summary Owner Reporter
#2470 Fixed deluge-console's parsing of commands is surprising eevee
Description

Since this works:

deluge-console info some-torrent-id

I also expected this to work, in the tradition of sudo and ssh and the like:

deluge-console info -s Paused

But instead I get:

deluge-console: error: no such option: -s

Googling around found that the command is "supposed" to be quoted, and in fact the source code mentions this in the help text for the CommandOptionGroup, though it doesn't seem to render for me:

  Console Commands:
    info quit pause halt plugin del cache resume add exit connect debug rm
    config recheck help

Anyway, I believe this can be trivially fixed by using `parser.disable_interspersed_args()`, which forces optparse to stop parsing at the first positional argument it sees and treat all the rest as positional arguments.

That means deluge-console info --version will no longer just show the version, but I think that's probably okay. On the other hand, deluge-console info --help will actually work correctly.

(It's a shame that the remaining arguments are ultimately joined with spaces and re-parsed; seems like it would be nice to avoid reparsing when there are multiple args, so you can have filenames containing semicolons and whatever else you want. But that's a little more invasive.)

Deluge 1.3.6 on Arch x64, fwiw.

#1855 Fixed deluge-console: spelling error in output (availibility) eirikba
Description

This patch just fixes a small spelling error in deluge-console's "info" output (availibility -> availability).

#1188 Fixed deluge-console summary statistics nick matthieu
Description

Hello,

I would like to be able to get a summary of the deluge server with a command line. The current deluge-console info gives details info about each torrent but no summary (I mean in the shell, without using the full deluge-console interface). The goal is to use the summary with scripts for monitoring or to export the data to any software.

The relevant info should be :

  • number of torrents
  • number per state : downloading, seeding, error ....
  • bandwidth info
  • number of connexion
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.