Skip to content

Conversation

@nikhildahake
Copy link

@nikhildahake nikhildahake commented May 17, 2025

(Request to sort by trackers. See: #670)

Added method to sort torrents by number of trackers.

(Apologies for the poor audio. But, you will understand the video.)
(Original App)Video 1: https://www.loom.com/share/5ff3ee2ddab64384a73ed46f9cea9cbc?sid=9a4fd45f-f39a-442a-9a85-bc351112ee7d

(Modified App)Video 2: https://www.loom.com/share/5c9886ee693d44e1874e5bfa8763bce9?sid=169a0146-68b1-4920-b5d4-b5336b6b7e35

Added method to sort torrents by number of trackers.
@nikhildahake nikhildahake changed the title Feature request: https://github.com/erickok/transdroid/issues/670 (Re… Feature request: https://github.com/erickok/transdroid/issues/670 May 17, 2025
@tejas-rkd
Copy link

A single torrent file can contain multiple tracker URLs, but only one of them is typically used at a time for active peer discovery and data exchange.
Sort by tracker is lexicographical ordering of such active tracker associated with each torrent file.
If two torrents have same active tracker then they would have same precedence and then number of trackers can be used as a tie breaker. Empty ones have lowest precedence.
This is what I have observed in qbittorrent and others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants