true if valid
Connects deluge and returns a list of available methods
Optional
selectedHost: stringindex of host to use in result of get hosts
Disconnects deluge - warning all instances connected to this client will also be disconnected. Other instances may also reconnect. Not really sure why you would want to disconnect
Download a torrent from url, pass the result to Deluge.addTorrent
file path
Export the current state of the client. Can be restored with createFromState
.
Returns all torrent data. Data has been normalized
Gets host status
pass host id from this.getHosts()
used to get torrent info before adding
use path returned from upload torrent looks like '/tmp/delugeweb-DfEsgR/tmpD3rujY.torrent'
get torrent state/status
fields ex - ['label']
returns the version ex - 2.0.3-2-201906121747-ubuntu18.04.1
Lists methods
disable or enable auth connection
a list of method names
Login deluge
true if success
Logout deluge
true if success
torrent id from list torrents
(default: false) If true, remove the data from disk
Static
create
Checks current session is valid