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 upPause download of some files within the torrent, But still downloads #857
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
You need to first run: // Remove default selection (whole torrent)
torrent.deselect(0, torrent.pieces.length - 1, false)Then you can select just the files you want: torrent.files[0].select() // download the 1st file
torrent.files[5].select() // download the 6th file
// ... and do not download any of the other files |
This comment has been minimized.
This comment has been minimized.
|
@feross What is the earliest time |
This comment has been minimized.
This comment has been minimized.
|
Right now, you have to call it after the |
This comment has been minimized.
This comment has been minimized.
|
Released as 0.95.6. |
feross
added a commit
that referenced
this issue
Jul 28, 2016
// Remove default selection (whole torrent) torrent.deselect(0, torrent.pieces.length - 1, false) Can now be called earlier, after 'metadata' instead of after 'ready' #857 (comment)
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Even after pausing the some file within the torrent. The paused file still continues to download.
I tried multiple torrents, but same issue pops up