-
I'm having trouble finding an approach to get a completion percentage for a torrent in which some files' priority is set to 0. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The torrent dictionaries returned from |
Beta Was this translation helpful? Give feedback.
-
My problem is that if torrent has two files with equal size, and i set one's priority to 0 and download the other, the total progress would still be 50% even though i don't need the other file. |
Beta Was this translation helpful? Give feedback.
The torrent dictionaries returned from
client.torrents.info()
contain asize
element that represents the total amount of data to be downloaded. Thecompleted
element of that dictionary contains how much has been downloaded. The ratio of those two numbers is the percentage complete for the torrent download.