Page 1 of 1

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

Posted: Fri Mar 22, 2013 10:07 am
by jacroe
I'm sending this data:

Code: Select all

{"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 it to, Deluge continues to download the content to the default directory. Am I doing something wrong here?

Re: Deluge JSON api ignores "download_path" option?

Posted: Fri Mar 22, 2013 1:27 pm
by Cas
It's a typo and should be download_location: http://git.deluge-torrent.org/deluge/co ... 5a194c3c83

Re: Deluge JSON api ignores "download_path" option?

Posted: Fri Mar 22, 2013 5:09 pm
by jacroe
So it isn't me then. Wonderful. You may want to update the docs then.