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 upAllow deleting deselected files #806
Comments
This comment has been minimized.
This comment has been minimized.
|
@feross the corresponding feature in WebTorrent Desktop would benefit from this |
I still want to do that eventually, but needs to be supported in WebTorrent See webtorrent/webtorrent#806
* Fix comments from #529 * Don't unlink deselected files I still want to do that eventually, but needs to be supported in WebTorrent See webtorrent/webtorrent#806
* Fix comments from #529 * Don't unlink deselected files I still want to do that eventually, but needs to be supported in WebTorrent See webtorrent/webtorrent#806
* Fix comments from webtorrent#529 * Don't unlink deselected files I still want to do that eventually, but needs to be supported in WebTorrent See webtorrent/webtorrent#806
This comment has been minimized.
This comment has been minimized.
|
Deselect would have to be working, first: #164 |
This comment has been minimized.
This comment has been minimized.
|
In the current version I have a related issue. Storage space for deselected files are allocated. Is this already fixed in the development version? |
This comment has been minimized.
This comment has been minimized.
|
@kireerik , have you tried dcposch solution on 164? It'll allocate 0 on file size |
This comment has been minimized.
This comment has been minimized.
|
Hi @kocoten1992, I have tried something like that using WebTorrent Desktop and sometimes it works, sometimes not. Also torrents are starting immediately and there is no option for not to start torrents automatically when I add a new one. Currently I am not actively using WebTorrent Desktop because it produced irrelevantly high download statistics on the torrent site that I am using. Maybe because it usually checks downloaded files again and again on start. Is this another bug in WebTorrent Desktop? |
This comment has been minimized.
This comment has been minimized.
This bug might have been fixed in |
This comment has been minimized.
This comment has been minimized.
|
I see, and thank you for the information! Do you have a plan about releasing a new build for WebTorrent Desktop soon? |
This comment has been minimized.
This comment has been minimized.
|
Yes, there will be a new release soon. |
This comment has been minimized.
This comment has been minimized.
|
Now I have version 0.18.0 installed, but the previously described 3 issues still exist. |
This comment has been minimized.
This comment has been minimized.
|
Really need this functionality. |
Say a torrent contains 10 files of 1GB each, but you only want to download two of them. How do you save disk space by deleting the other eight?
Currently, you can choose which files WebTorrent will download, but (as far as I can tell) there's no way to prevent the library from creating and holding an open file descriptor for all 10 files on disk.
Just closing the file descriptor for deselected files might be enough. That allows users of the library to then delete the file themselves.