Opened 8 years ago

Last modified 7 years ago

#2939 assigned Enhancement

add and remove trackers without supplying the whole list in libT

Reported by: livings124 Owned by: jordan
Priority: Low Milestone: Sometime
Component: libtransmission Version: 1.90
Severity: Trivial Keywords:
Cc:

Description

Right now adding and removing trackers is done through tr_torrentSetAnnounceList(), which requires recreating everything. This makes the code for adding and removing trackers a bit convoluted (both in libT and the client code) and gives the calling code knowledge it doesn't need (direct access to setting tracker id, having to leave scrapes blank, etc.).

A function to add a single tracker supplying only an announce address and a tier (-1 for new tier, perhaps) would be useful. A function to remove trackers by supplying just a list of tracker id's would be equally useful.

Change History (3)

comment:1 Changed 7 years ago by jordan

  • Milestone changed from None Set to Sometime
  • Owner changed from charles to jordan
  • Status changed from new to assigned

comment:2 Changed 7 years ago by jordan

livings, would this eliminate the need for tracker IDs in tr_tracker_info? I would really like to get rid of those IDs.

comment:3 Changed 7 years ago by livings124

I'm not sure that would resolve it. There needs to be a way to identify unique trackers (if there's duplicates, etc).

Note: See TracTickets for help on using tickets.