Feature - Torrent details (files/peers/trackers)#703
Open
FingerlessGlov3s wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 speedwhich is cumulative of both Download and UploadScreenshots of the new view and settings
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