Repository navigation
Torrent Player 2.4.0
The engine is now Rust
Torrent Player 2.4.0 replaces the Go torrent engine with a new one written in Rust (engine-rs/). It installs as an ordinary update over 2.3.0. Torrents, magnets, Direct Play, saved downloads, seeding, the peer map and all connection types (TCP, uTP, WebRTC, DHT, trackers, PEX) work as before, now on the Rust engine.
Seeking and playback
- A seek fetches the new play position first, then the blocks after it in order.
- When a block near the play position is late, a backup request goes to a quicker peer, and a slow peer gives way to a much faster one.
- For MP4 and MKV files, the keyframes near the play position are read from the file's index and fetched ahead.
- The on-device peer model is gone. Seeking no longer uses a small model learned on your phone, and nothing like it is stored any more.
- Five playback switches leave Settings because they are now always on: hedged requests, slow-peer yield, dropping chokers, play this file only, and play next video.
Downloads
- Saved downloads have their own block queue, separate from playback, and keep their speed while nothing is playing.
- Finished blocks cancel their duplicate copy on other peers at once, so less data is downloaded twice.
- The burst of new connections when a torrent starts lasts 10 s instead of 40 s.
- Each peer can queue at most 512 upload requests; beyond that, its requests are rejected.
Battery and heat
- With no traffic for 3 minutes, the app releases its wake and Wi-Fi locks.
- An unchanged notification refreshes once a minute instead of every second.
- Piece hashing, the dialer, idle peers and DHT lookups all slow down when nothing is downloading.
- uTP packets are received in batches on their own thread instead of one at a time.
Network
- The engine recovers when you switch between Wi-Fi and mobile data: connections from the old network are cancelled, retry delays are cleared, and trackers start fresh.
App
- Magnets and
.torrentfiles opened from other apps now open in Torrent Player's own window, instead of inside the app that sent them. - The selection bar's Pause and Resume buttons stay on one line.
- The privacy policy link points at this release's policy, which no longer mentions the peer model.
Known issues
- Updating from 2.3.0 has not been tested on a phone yet. If your library or downloads look wrong after updating, please open an issue.
- The Go engine's old data folder is not deleted on update, so it keeps using storage until the app's data is cleared. A later version will remove it.
Licence
The app stays MIT. The engine in engine-rs/ is MPL-2.0, because it derives from anacrolix/torrent; see engine-rs/NOTICE.md.
Install
This APK is built in F-Droid's build image and signed with the release key, the same key as F-Droid's copy, so it updates either install. F-Droid will offer 2.4.0 once its recipe moves to the Rust build steps.
Supports arm64-v8a phones running Android 8.0 or newer.
SHA-256 of torrent-player-2.4.0.apk: 3956457ca7c9ce4148dc1700e5c8d7b7ce64247055dd84f58679b0c7c2eb9b96