Rtorrent: [Q] Is there a XMLRPC command to obtain the tracker (name) associated with a hash?

Created on 29 Jun 2018  路  8Comments  路  Source: rakshasa/rtorrent

Thanks

All 8 comments

https://rtorrent-docs.readthedocs.io/en/latest/cmd-ref.html#term-d-tracker-alias

Or call rtcontrol --debug -qo tracker // -/1 to see all the gory details, and how to get full URLs.

Thanks for replying Pyro. I discovered that command earlier, was hoping for a native rtorrent command.

The "native" way is in the 2nd paragraph.

Are you referring to the 'd.tracker_alias' command which requires rTorrent-PS?

Torrents can have multiple announce urls, are you looking for t.url? e.g.:

rtxmlrpc d.multicall2 '' main t.multicall=,t.url=

@kannibalox

Cheers. I'm a complete newb at XMLRPC commands, is there a way to extract multiple announce urls from a torrent with its hash?

Fiddled around with it, worked the above question out The question below remains a mystery.
t.multicall hash '' t.url=

Better yet, suppose there's a tracker with the domain name xyz.com which has multiple announce urls, is there a command that can merge the announce urls, returning only the domain name?

If you're looking to replicate what d.tracker_alias does, the code for it is here: https://github.com/pyroscope/rtorrent-ps/blob/master/patches/command_pyroscope.cc#L199

Sweet. Appreciate the help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RX14 picture RX14  路  4Comments

nikil picture nikil  路  5Comments

crazy-max picture crazy-max  路  4Comments

lzbk picture lzbk  路  6Comments

legrostdg picture legrostdg  路  5Comments