These are chat archives for anacrolix/torrent

10th
Feb 2018
deranjer
@deranjer
Feb 10 2018 01:02
@anacrolix Very rarely appently, it came up twice for me within 20 minutes, but haven't seen it since. I only have 1 torrent "running" currently, and it rarely has any seeds.
Matt Joiner
@anacrolix
Feb 10 2018 02:10
if it happens again i'll do some checks
deranjer
@deranjer
Feb 10 2018 03:51
@anacrolix Finally writing my file priority code and have a question... Let's say I cancel a piece but it already has a part of that file downloaded.... In my program I recalculate the total download size by removing the .Length() of that file out of the equation... however, I use bytescompleted to calculate percent done... which will be incorrect since I have bytescompleted in a file I canceled...
Is there an easy way to fix that issue... or will I need to drop down to a piece level and use PieceBytesMissing to do the calculation that way?
deranjer
@deranjer
Feb 10 2018 03:58
Oh, nvm, it is pretty easy to do with FilePieceState
Matt Joiner
@anacrolix
Feb 10 2018 07:54
yeah FilePieceState should do what you need