Page 1 of 1

webui add torrent urls

Posted: Fri Mar 09, 2012 6:38 am
by Bunta
Hi there

I just wanted to know if deluge webui supports adding torrents via a url link.
For example something like http://localhost:8112/remote/torrent/ad ... me.torrent
It used to support formats like this with the /remote/torrent/add url but that doesn't seem to work any more.
Is there still another URL format that supports this type of action?

Re: webui add torrent urls

Posted: Wed Mar 21, 2012 6:31 am
by Bunta
Anyone?

I need this functionality in order to enable magnet link support for deluge client in a webui firefox plugin I develop.

Re: webui add torrent urls

Posted: Wed Mar 21, 2012 1:35 pm
by Cas
You need to use the json api and you can look at an existing greasemonkey script or any of the other browser plugins source code for hints on how to use it.

Re: webui add torrent urls

Posted: Tue Apr 10, 2012 7:05 am
by Bunta
Thanks for that, I now have magnet link support working correctly in my addon:
https://addons.mozilla.org/en-US/firefo ... ui-120685/

Although it did take me quite a long time to realise that the magnet support was not working correctly as indicated with deluge 1.3.4.
I messed around altering my code a hundred times until I downloaded 1.3.5 and found it was working fine with my first version :P

Re: webui add torrent urls

Posted: Tue Apr 10, 2012 10:49 am
by Cas
Nothing changed in 1.3.5 that should have affected that but good to know it works now. I've added a link to Plugins page.

Re: webui add torrent urls

Posted: Wed Apr 11, 2012 6:22 am
by Bunta
Hmm thats strange, maybe there was just something wrong with the client I had installed.