Search found 4 matches

by jacroe
Fri Mar 22, 2013 5:09 pm
Forum: Development
Topic: [JSON API] Deluge JSON api ignores "download_path" option?
Replies: 2
Views: 2828

Re: Deluge JSON api ignores "download_path" option?

So it isn't me then. Wonderful. You may want to update the docs then.
by jacroe
Fri Mar 22, 2013 10:07 am
Forum: Development
Topic: [JSON API] Deluge JSON api ignores "download_path" option?
Replies: 2
Views: 2828

[JSON API] Deluge JSON api ignores "download_path" option?

I'm sending this data: {"method":"web.add_torrents","params":[[{"path":"SomeQuiteLegalFile.torrent","options":{"download_path":"/home/jacob/"}}]],"id":1} to the json web api. Yet, no matter what directory I set...
by jacroe
Fri Sep 28, 2012 3:52 pm
Forum: Development
Topic: [JSON API] "String indices must be integers" error
Replies: 2
Views: 4021

Re: [JSON API] "String indices must be integers" error

Ah, thank you. I thought I had included enough brackets, but I suppose not. Thank you very much.
by jacroe
Fri Sep 28, 2012 8:10 am
Forum: Development
Topic: [JSON API] "String indices must be integers" error
Replies: 2
Views: 4021

[JSON API] "String indices must be integers" error

I'm trying to add a local torrent file to Deluge using the web-ui's jsonRPC. I'm using this bit of code: curl -b cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method":"web.add_torrents","params...