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

How to get file progress? #1132

Closed
SimonHausdorf opened this issue May 23, 2017 · 7 comments
Closed

How to get file progress? #1132

SimonHausdorf opened this issue May 23, 2017 · 7 comments

Comments

@SimonHausdorf
Copy link

@SimonHausdorf SimonHausdorf commented May 23, 2017

Hi there,

is it possible to get the file progress inside a torrent?

@allthetime

This comment has been minimized.

@SimonHausdorf

This comment has been minimized.

Copy link
Author

@SimonHausdorf SimonHausdorf commented May 23, 2017

But it's only for the torrent and not for the files / items in it right?

@m-2k

This comment has been minimized.

Copy link

@m-2k m-2k commented May 23, 2017

Torrent API
torrent.on('download', function (bytes) {})
torrent.files[...]

File API
file.length / file.downloaded

Use this 4 methods as solution

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented May 23, 2017

We should def get file.progress added.

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Jun 1, 2017

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Jul 21, 2017

This feature is merged now, so this issue can be closed :D

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Apr 19, 2018

Fixed by #1140

@feross feross closed this Apr 19, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.