Skip to content

Feature - Torrent details (files/peers/trackers) - #703

Closed
FingerlessGlov3s wants to merge 1 commit into
erickok:masterfrom
FingerlessGlov3s:master
Closed

FingerlessGlov3s wants to merge 1 commit into
erickok:masterfrom
FingerlessGlov3s:master

Conversation

@FingerlessGlov3s

@FingerlessGlov3s FingerlessGlov3s commented Jun 26, 2026 •

Copy link
Copy Markdown

Summary

This feature adds peer list support when viewing a torrent and other improvements to the tracker list, I've moved to a 3 tab system to tidy up the detail viewing of a torrent. It also reports the tracker status for each tracker and displays a colour relating to the status of a tracker. For peers the colour is whether the peer has 100% of the torrent or not.

Default view shows the files, then you can swipe to peers or trackers. I've also added auto refreshing support for torrent details, with the default being no auto refresh just like the normal main screen refresh.

Peers will also show a country flag, if the country is reported back from the torrent client, if your client doesn't support this there is a local geodatabase that will be used, if you've downloaded it in the system settings. For this I'm using https://ip66.dev since they provide free usage of their geodatabase.

You can change the default sort order of the peers, defaults to Total speed which is cumulative of both Download and Upload

  • Total speed
  • Download speed
  • Upload speed
  • IP address
  • Torrent client

Screenshots of the new view and settings

image

Devleopment

This change has been made using Claude, but I have tested and reviewed the code myself. It has been tested against Transmission and using Android 14 OnePlus 9. I have reviewd the changes made to the code, java isn't a language I know that well.

Happy for this to be rejected if you do not want any AI assisted coding in this code base

@erickok

erickok commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Hi @FingerlessGlov3s thanks for your contribution. I am very sorry to never really have answered you, because you did a good job. It's just that I was already with a rewrite, Transdroid 3, in mind. In fact you can see we already have trackers in a tab on the details screen there. See #705 for alpha builds.

As for the Peers tab, we could indeed add this. Is it very useful you think? I never really bothere with this myself but I guess a certain type of content might benefit from it? Happy to add this to Transdroid 3 if it's useful to people. A quick investigation (by Claude) tells me this should be possible (even without a manual geoip lookup sometimes with Deluge or qBittorrent).

@FingerlessGlov3s

Copy link
Copy Markdown
Author

I find looking at the peers list quite useful, when looking at stalled torrents, as it's a good way to find out why you're stuck at like 95% and only getting like 10KB/s, then you can see there's say only 1 peer with 100% where everyone else is 95% as well.

Yeah some torrent daemons have their own geoip built in, but idk how often it's updated not sure if it's packaged or via some update url.

Would love to see this return in v3 client as I do use often.

@FingerlessGlov3s

Copy link
Copy Markdown
Author

I can look to add this to v3 if you like, once I've played with v3 for a bit.

@erickok

erickok commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Try Transdroid 3 alpha 4. 😉

@FingerlessGlov3s

Copy link
Copy Markdown
Author

Try Transdroid 3 alpha 4. 😉

I'll try it now, check your email though 😉

@FingerlessGlov3s

FingerlessGlov3s commented Sep 21, 2026 •

Copy link
Copy Markdown
Author
image

FingerlessGlov3s@16bfe8e

I was about to PR this but noticed you did this, mine looks a little cleaner, in my opinion, but I think moving the, download up and down to the right would be better in my design to match yours.

I also added swipe control, so I could swipe between the tabs, and then then the download geodb, to allow country icons when the torrent server doesn't support providing the flag data

@erickok

erickok commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Well I also think the % in a green pill looks nice. Maybe you can make a PR with that (with speeds still right aligned), with the swipe support and the deodb feature? Happy to merge that in (to transdroid3)!

@FingerlessGlov3s

Copy link
Copy Markdown
Author
image How does this look?

@erickok

erickok commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Nice 👍

@FingerlessGlov3s

Copy link
Copy Markdown
Author

Nice 👍

Take a look at #716

erickok added a commit that referenced this pull request Sep 22, 2026
Improve torrent peer list spoken about in #703

 - GeoDB
 - Swipe support
 - Show secure connection peers
 - Tab list fills width
 - Sort peers
@erickok

erickok commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Going to close this since, well, #716

@erickok erickok closed this Sep 22, 2026
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