Adding tracker

Suggestions and discussion of future versions
Post Reply
tonny
New User
New User
Posts: 9
Joined: Thu Jun 20, 2013 8:30 pm

Adding tracker

Post 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!
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Adding tracker

Post 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}]]
Post Reply