mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
7c76d40a4d
* Unify the line endings to the Unix style (LF only). * Fix (where possible) or remove broken links. * Improve the documentation. Fix or remove broken links (depending on whether I could find a working version of the resource). Change all links to use HTTPS instead of HTTP. Unify the capitalizations (e.g. uppercase abbreviations, capitalize proper names and downcase other words). Fix or improve some parts of the text, clarifying what is meant. Improve some parts of the program examples (e.g. only use root privileges where really required).
22 lines
841 B
Markdown
22 lines
841 B
Markdown
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.
|
|
|
|
## 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.
|
|
|
|
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:
|
|
```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".
|