Display the total downloads/completed downloads of a torrent #671
Labels
- User -
Enjoyable to Use our Software
Easy
Good for Newcomers
Enhancement / Feature Request
Something New
good first issue
Good for newcomers
Discussed in #521
Originally posted by josecelano April 11, 2024
Proposed on: #519 by @ty5e3a45.
Currently, we only show the number of seeders and leechers for a torrent.
The Index API endpoint does not contain that info:
It only contains the number of seeders and leechers. It does not contain the number of complete downloads because the Index does not have that number now. The Index imports that info from the tracker and stores the stats in this table:
There is a background task to import statistics from the tracker that uses this tracker endpoint:
http://localhost:1212/api/v1/torrents?infohash=9c38422213e30bff212b30c360d26f9a02136422&token=MyAccessToken
In order to implement this feature we need to:
torrust_torrent_tracker_stats
table:completed
.Screenshot
I'll open the issues because it's a good first issue for new contributors.
Subtasks
The text was updated successfully, but these errors were encountered: