Search found 7 matches

by gprime
Mon Apr 30, 2012 6:20 pm
Forum: Support
Topic: JSON RPC Set Config
Replies: 1
Views: 1808

JSON RPC Set Config

I am attempting to set a value in the overall config of deluge. But each time I try to set it it just hangs there. This is what I am calling after a successful login: curl -b cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d ...
by gprime
Mon Apr 30, 2012 6:12 pm
Forum: Support
Topic: [JSON API] Check Connection
Replies: 2
Views: 1822

Re: Check Connection

Awesome, thanks!

Works great
by gprime
Thu Apr 26, 2012 10:02 pm
Forum: Support
Topic: Startup Error
Replies: 1
Views: 2624

Startup Error

I am attempting tpo start deluge daemon through a phython script. This is the error I am getting: Traceback (most recent call last):  File "/usr/bin/deluged", line 9, in <module>    load_entry_point('deluge==1.3.3', 'console_scripts', 'deluged')()  File "/usr/lib/python2.7/dist-packag...
by gprime
Thu Apr 26, 2012 7:38 pm
Forum: Support
Topic: [JSON API] Check Connection
Replies: 2
Views: 1822

[JSON API] Check Connection

Is there a way using the json rpc to check if an active connection with my cookie is still set? For example, I have software that runs each second to get the status of all torrents. Each time I run this script it does a web.connect rpc command. Now this works most of the time but sometimes it just s...
by gprime
Tue Apr 24, 2012 9:17 pm
Forum: Support
Topic: [JSON API] add_torrent_magnet with json rpc
Replies: 5
Views: 5414

Re: add_torrent_magnet with json rpc

Ah ok, now I am getting: $ curl -b cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method": "core.add_torrent_magnet", "params": ["MAGNET_URI", {}], "id": 1}' http://loca...
by gprime
Mon Apr 23, 2012 6:41 pm
Forum: Support
Topic: [JSON API] add_torrent_magnet with json rpc
Replies: 5
Views: 5414

Re: add_torrent_magnet with json rpc

I am not sure what I am doing wrong. I did the following: $ curl -c cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method": "auth.login", "params": ["deluge"], "id": 1}'...
by gprime
Thu Apr 19, 2012 7:39 pm
Forum: Support
Topic: [JSON API] add_torrent_magnet with json rpc
Replies: 5
Views: 5414

[JSON API] add_torrent_magnet with json rpc

I am trying to add a magnet uri but its not working. I am doing the following: $ curl -c cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method": "auth.login", "params": ["deluge"]...