rtorrent
rtorrent copied to clipboard
Fix partially done downloads and choke groups
Depends on:
- https://github.com/rakshasa/libtorrent/issues/147 (Fix partially done downloads and choke groups)
For more info:
- #564 (Bug in handling choke groups)
- https://github.com/rakshasa/rtorrent/issues/144#issuecomment-282481528 (rtorrent 0.9.3/0.13.3: Issues with "partially" downloaded torrent. Never finishes, completion percentage)
Also closes:
- #348 (stuck upload slots)
I modified the pull requests:
- fix casting error in set_selected_size_bytes function in libtorrent
- save it into session and reload it during restart (similarly to
chunks_wanted) (libtorrent is also modified)- required by stopped torrents (
update_priorities()method isn't triggered for them upon start)
- required by stopped torrents (
- remove
d.set_selected_size_bytescommand: it's not useful and not needed
I also updated the description with the changes.
Why hasn't this been merged in the past? It's a very much needed patch.