Hi, I am developing a python script that attempts to remote control a deluge instance through the jsonrpc API of the webui.
I would be very grateful if someone could tell me if there are methods I can use to control the label plugin, e.g. to create a new label and assign it to a torrent.
For example. core.get_session_state() will return the list of infohashes of a deluge instance. Is there a method like label.create(...) that will create a label?
Thanks in advance!
[JSON API] Label plugin: json rpc methods?
Re: Label plugin: json rpc methods?
Use the exported RPC methods listed in label core: http://git.deluge-torrent.org/deluge/tr ... 1.3-stable
so you would be using label.add, label.get_labels, etc.
so you would be using label.add, label.get_labels, etc.
Re: Label plugin: json rpc methods?
Hey,
Is there a way like that to get a torrent label by torrent by torrent hash or filename ?
Like torrent.getLabel(torrenthash)
Thanks
Is there a way like that to get a torrent label by torrent by torrent hash or filename ?
Like torrent.getLabel(torrenthash)
Thanks