Fix put.io Finishing status not showing in downloads (#39)#46
Open
jchiotaka wants to merge 7 commits into
Open
Fix put.io Finishing status not showing in downloads (#39)#46jchiotaka wants to merge 7 commits into
jchiotaka wants to merge 7 commits into
Conversation
added 3 commits
July 3, 2026 12:26
…1, web UI + Transmission RPC)
…le) for putiorr dev server on 9092
…antom completion_percent field (#39)
🐳 PR container imagePull the latest build of this PR: docker pull ghcr.io/ptheofan/putiorr:pr-46Immutable build for this commit: Rebuilt on every push; removed automatically when the PR closes. If the package is private, run |
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.
Fixes #39.
What
During put.io's finishing phase (torrent downloaded, files being copied into your storage) the download read as a stuck 100% instead of showing the real finishing progress.
Root cause
put.io pins
percent_doneat 100 once the torrent is downloaded, but keeps copying it into storage — that copy's progress lives incompletion_percent, and put.io reportsstatus: SEEDING(notCOMPLETING) throughout.Verified against the live account websocket + REST
/transfers/list:(The SwaggerHub 2.8.14 schema omits
completion_percent, but the REST endpoint does return it.)The previous UI only showed the finishing % when
status === 'COMPLETING'— which never happens — so it fell through to "Ready on Put.io · 100%".Fix
downloadStatusTextnow keys the finishing phase off the data, not the status: whenpercent_done >= 100 && completion_percent < 100, showFinishing on Put.io · {completion_percent}%. Otherwise unchanged.Notes for reviewer
completion_percentwas already captured/stored end-to-end; only the display condition changed.READY_REMOTE_STATUSEStreatSEEDINGas ready, but files aren't fully in storage untilcompletion_percenthits 100 — starting a local download mid-finish could fetch incomplete files. Worth a follow-up.