Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Transmission Total Download Incorrect For Cross Seeded Torrents #2429

Open
stewartcampbell opened this issue Feb 26, 2025 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@stewartcampbell
Copy link

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

@manuel-rw manuel-rw added bug Something isn't working good first issue Good for newcomers and removed needs triage labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants