deluge.ui.console.commands.info

class deluge.ui.console.commands.info.Command

Bases: deluge.ui.console.main.BaseCommand

Show information about the torrents

complete(line)
handle(*args, **options)
show_info(torrent_id, status, verbose=False)

Writes out the torrents information to the screen.

Parameters:
  • torrent_id – str, the torrent_id
  • status – dict, the torrents status, this should have the same keys as status_keys
  • verbose – bool, if true, we print out more information about the the torrent
deluge.ui.console.commands.info.format_progressbar(progress, width)

Returns a string of a progress bar.

Parameter:progress – float, a value between 0-100
Returns:str, a progress bar based on width

Previous topic

deluge.ui.console.commands.help

Next topic

deluge.ui.console.commands.pause

This Page