Page 1 of 1

Adding tracker

Posted: Thu Oct 17, 2013 5:31 pm
by tonny
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!

Re: Adding tracker

Posted: Thu Oct 17, 2013 6:08 pm
by Cas
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}]]