These are chat archives for anacrolix/torrent

18th
Mar 2018
Matt Joiner
@anacrolix
Mar 18 2018 00:08
piece and file priorities are too completely separately managed things
the actual piece priority used to pick what to download, is the maximum of the priority for a piece, and any files its part of
downloadall sets the piece priorities. you need to unset that
deranjer
@deranjer
Mar 18 2018 00:11
So file priority isn't just a superset of piece priorities for a certain range?
Matt Joiner
@anacrolix
Mar 18 2018 00:12
that's right
file priorities exist because it's really hard to do the pieces that overlap properly
deranjer
@deranjer
Mar 18 2018 00:12
Okay, I'll do some testing thanks!
Matt Joiner
@anacrolix
Mar 18 2018 00:13
sorry the documentation isn't up to scratch, if you want to contribute anything you found that'll be helpful
deranjer
@deranjer
Mar 18 2018 00:21
no, I made a bad assumption about pieces vs files thanks for clearing that up
deranjer
@deranjer
Mar 18 2018 23:46
@anacrolix So then how do I tie a file to a set of pieces? I can't seem to find a way to set a priority for a file.. the cancelpieces expects an in for pieces but I see no way to tie that to a file...