These are chat archives for anacrolix/torrent
Is it possible to select files that will be downloaded? As I tested, file.setPriority(0) does not work for this purpose and it is only possible to specify by piece indexes .
For instance, to download first file:
end := firstFile.Length() / info.PieceLength
but if the end value is a decimal number, I should write:
t.DownloadPieces(0, end + 1)
which means, I need to download a part of the second file.
Is there a better way to specify files that will be downloaded, without downloading the next or prior ones?