Version 2 (modified by mvoncken, 16 years ago) (diff) |
---|
Random example scripts
Mostly picked up from irc.
shut down daemon
from deluge.ui.client import sclient sclient.set_core_uri() sclient.shutdown()
total amount of bytes downloaded
Downloaded:
sum(t["total_done"] for t in sclient.get_torrents_status([],['total_done']).values())