Changes between Initial Version and Version 1 of MovedToGitHub/Can I sequence the files I download


Ignore:
Timestamp:
Dec 6, 2008, 5:30:37 PM (13 years ago)
Author:
jinzo
Comment:

draft.

Legend:

Unmodified
Added
Removed
Modified
  • MovedToGitHub/Can I sequence the files I download

    v1 v1  
     1Can I sequence the files I download? is quite a common question. This entry will try to anwser the question and possibilities.[[BR]]
     2
     3
     4'''Why is this "feature" not implemented in Transmission?'''[[BR]]
     5
     6Because it makes the overall swarm's health worse.
     7
     8'''But I want to sequence the files I download, how do I do it ?'''[[BR]]
     9
     10There're two methodes basicly, one DIY that requires a bit of code changing and the "user frendly" version.[[BR]]
     11
     12
     13''' 1) DIY code changing approach:'''[[BR]]
     14Tweak ''compareRefillPiece()'' in ''libtransmission/peer-mgr.c''
     15
     16Repleace:
     17{{{
     18/* otherwise go with our random seed */
     19return tr_compareUint16( a->random, b->random );
     20}}}
     21With:
     22{{{
     23/* otherwise download the pieces in order */
     24return tr_compareUint16( a->piece, b->piece );
     25}}}
     26
     27''' 2) "User-frendly" approach:'''[[BR]]
     28In the file inspector, change the priorities "by hand".