Open nishantkr18 opened 1 year ago
Hi @nishantkr18, to better control the priorities and resume state, you need to use the more elaborated download
override, see https://github.com/aldenml/libtorrent4j/blob/004ad972f2cf1c3a5ae8cc746ab40113827f8d49/src/main/java/org/libtorrent4j/SessionManager.java#L487
Let me know if this answer your question. Thanks for trying this library.
Piece priority of a torrent does not change if I rerun the code with a changed priority and a partially downloaded file.
To test it out, run the code as it is, then stop it and rerun with a changed priority.
Is this behavior expected? Maybe I am missing something..
Here's the code I use for this issue: