rakshasa/rbedit

Adding additional tracker URLs

vRobM opened this issue · 3 comments

vRobM commented

From your examples it's not clear how to add (instead of replace) extra tracker URLs and output it to a separate file (not using --inplace)

--output doesn't appear to work with the message there are too many arguments when specifying a filename.

example (tracker0 being the one already present in my.torrent):
./rbedit announce put --input ./my.torrent --output ./new.torrent https://tracker1 https://tracker2
announce put: missing valid output destination

Announce is only ever a single url, you need to add to announce-list.

vRobM commented

Ok thanks, I wanted to avoid lists due to tiering.

The problem with announce lists is that they are tiered and clients only contact the first in a tier.
Explicitly making tiers is not easy having to know the number of trackers (tiers) and the trackers themselves, separating them all out into their own tiers.

I was able to overload the put with tracker1\ tracker2\ tracker3 and they all ended up in the 0 tier.

Another issue is clearing trackers.. which doesn't seem to work:
./rbedit announce-list clear-all --input ./my.torrent --output ./new.torrent
announce-list clear-all: missing valid output destination

clearly, it is specified.

Any ideas on how to make this simpler? (adding additional trackers to rtorrent is also difficult)
Having a function key to separate a tracker list or tier into separate tiers would be super helpful.

More examples of this would be helpful in the README
🙏

It's rather incomplete, might be I've just tested it with --inplace.