These are chat archives for anacrolix/torrent

6th
Jan 2018
Denis
@elgatito
Jan 06 2018 12:43
@anacrolix have noticed your commits! Is it ready to use? Final commits?
Matt Joiner
@anacrolix
Jan 06 2018 13:56
yeah give it a spin
i have it in production on my end now, working good so far
what are you storing in bolt that needs msgpack+gzip? what were the files for?
Denis
@elgatito
Jan 06 2018 15:29
Caching json responds from api
Movies/shows info
deranjer
@deranjer
Jan 06 2018 15:54
Is there an easy way to determine the size of an individual file? Or do I have to do some math with the offset and length of the file in relation to the entire length of the torrent itself?
Matt Joiner
@anacrolix
Jan 06 2018 16:42
The length is the size? It's available at metainfo.FileInfo.Length, and torrent.File.Length
deranjer
@deranjer
Jan 06 2018 18:19
@anacrolix Sorry mistype on my part, I meant the size of the downloaded portion of that file. I'm trying to calculate the percentage complete for each file