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())
Last modified 16 years ago
Last modified on 09/20/2008 07:54:10 AM