Suggestions and discussion of future versions
tonny
New User
Posts: 9 Joined: Thu Jun 20, 2013 8:30 pm
Post
by tonny » Thu Oct 17, 2013 5:31 pm
I can't add trackers to a torrent using webUI, I go to "Edit Trackers"->Add, complete the test field and when I press "Add" the new tracker don't shows up.
Also I try using the WS core.set_torrent_trackers
Code: Select all
curl -b cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method": "core.set_torrent_trackers", "params": ["3377621667479065c209bdf600075d80070e3ca9", [{"udp://tracker.openbittorrent.com:80",0}]], "id": 1}' http://localhost:8001/json
This give me the error:
HTTP/1.1 500 Internal Server Error
Any ides? Thanks!
Cas
Top Bloke
Posts: 3681 Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland
Post
by Cas » Thu Oct 17, 2013 6:08 pm
Looks like it is not adding udp trackers, could you create a bug ticket, thanks.
trackers param is a list of dicts:
Code: Select all
"params": ["3377621667479065c209bdf600075d80070e3ca9", [{"url":"udp://tracker.openbittorrent.com:80", "tier":0}]]