true if valid
Connects deluge and returns a list of available methods
index 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
Gets host status
pass host id from this.getHosts()
Get list of files for a torrent
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
true will delete all data from disk
Checks current session is valid