-
-
Notifications
You must be signed in to change notification settings - Fork 88
Description
Describe the bug
When torrents are cross seeded, the total download amount shows an incorrect value.
In https://github.com/homarr-labs/homarr/blob/dev/packages/widgets/src/downloads/component.tsx#L196 it is calculated like const received = Math.floor(item.size * item.progress);
, which isnt correct in this situation.
I think to fix this downloadedEver
should be used for the received
value instead, or possibly used as the default. Unsure.
uploadedEver
is already used in https://github.com/homarr-labs/homarr/blob/dev/packages/integrations/src/download-client/transmission/transmission-integration.ts#L36C9-L36C36 e.g. sent: torrent.uploadedEver,
Steps to reproduce
Cross seed a torrent. Transmission client shows 0 downloaded. Homarr widget does not.
Impact
Not a major impact other than incorrect totals for some torrents.
Additional information
No response
Version
1.6.0
Installation method
Docker Compose
Browser
Brave
Metadata
Metadata
Assignees
Labels
Type
Projects
Status