webui add torrent urls

General support for problems installing or using Deluge
Post Reply
Bunta
New User
New User
Posts: 6
Joined: Fri Mar 09, 2012 6:33 am

webui add torrent urls

Post 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?
Bunta
New User
New User
Posts: 6
Joined: Fri Mar 09, 2012 6:33 am

Re: webui add torrent urls

Post by Bunta »

Anyone?

I need this functionality in order to enable magnet link support for deluge client in a webui firefox plugin I develop.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: webui add torrent urls

Post 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.
Bunta
New User
New User
Posts: 6
Joined: Fri Mar 09, 2012 6:33 am

Re: webui add torrent urls

Post 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
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: webui add torrent urls

Post 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.
Bunta
New User
New User
Posts: 6
Joined: Fri Mar 09, 2012 6:33 am

Re: webui add torrent urls

Post by Bunta »

Hmm thats strange, maybe there was just something wrong with the client I had installed.
Post Reply