Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upincorrect value of file progress. file progress less than 0 #1552
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
Is this a duplicate of #1515? |
This comment has been minimized.
This comment has been minimized.
You are right, it`s the same problem. And fixing of my bag by replacing - this.offset with - (this.offset % pieceLength) also works for me |
This comment has been minimized.
This comment has been minimized.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
corwin-of-amber
added a commit
to corwin-of-amber/webtorrent
that referenced
this issue
Mar 11, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of WebTorrent?
0.102.4
What operating system and Node.js version?
Window 10, Nodejs 10.11.0
After stopping and resuming torrent download progress of files is calculated incorrect.
I am stopping torrent according to documentation (#164) by deselecting whole torrent (torrent.deselect(0, torrent.pieces.length - 1, 0)) and then deselecting each file (file.deselect()). When I want to resume torrent download, I am selecting all files (file.select()). and after that i am receiving incorrect progress of files
How can I solve this problem?
note* I am using electron v3.0.6