rtorrent icon indicating copy to clipboard operation
rtorrent copied to clipboard

Add tracker remove method to XMLRPC API

Open TheLQ opened this issue 11 years ago • 7 comments

Currently there is no way to remove a tracker from an existing torrent with the existing XMLRPC API. The edit rutorrent plugin gets around this by erasing and recreating the entire torrent with an updated tracker list. This is hugely expensive, looses statistics, and is a very hacky workaround.

Could a simple t.remove method be added to remove an individual tracker? Would be better if there was additional support for removing an entire group.

From a patch perspective, is there a way to remove individual trackers? Looking at the source for tracker_list ( https://github.com/rakshasa/libtorrent/blob/master/src/torrent/tracker_list.cc ) I can see a clear method but not a remove method.

TheLQ avatar Dec 10 '13 15:12 TheLQ