transmission/docs/Can-I-sequence-the-files-I-...

23 lines
841 B
Markdown
Raw Normal View History

2022-02-21 16:39:27 +00:00
Can I sequence the files I download? This is quite a common question. This entry will try to answer it and offer solutions.
## Why is this "feature" not implemented in Transmission?
Because it makes the overall swarm's health worse.
2022-02-21 16:39:27 +00:00
## But I want to sequence the files I download, how do I do it?
There are basically two methods, one DIY method that requires some code modification and the "user friendly" version.
2022-02-21 16:39:27 +00:00
1. DIY code changing approach: Tweak _compareRefillPiece()_ in _libtransmission/peer-mgr.c_
Replace:
```c
/* otherwise go with our random seed */
return tr_compareUint16( a->random, b->random );
```
With:
2022-02-21 16:39:27 +00:00
```c
/* otherwise download the pieces in order */
return tr_compareUint16( a->piece, b->piece );
```
2. "User-friendly" approach: In the file inspector, change the priorities "by hand".