Project · 2026
TMPlayer
Your Telegram videos, on the TV. Built and tested on a 1 GB TV stick.

About this project
Videos shared through your own Telegram chats can be awkward to watch on a television: download to a phone, copy the file across, then find somewhere to keep it. TMPlayer removes that detour. Scan a QR code with the phone that holds your Telegram account, open a chat, pick a video, and playback starts while the file continues downloading.
The interesting part is the streaming layer. A custom Media3 DataSource maps ExoPlayer's reads onto TDLib's offset-based partial downloads, so seeking to the ninety-minute mark re-aims the download at that byte instead of grinding through everything before it. The window arithmetic lives in one pure, unit-tested class, because that is where a streaming player either works or does not.
Everything is shaped by the hardware it targets, a Mi TV Stick with 1 GB of RAM and under 5 GB of usable storage. One video is cached at a time, previews come directly from Telegram, and the app ships one APK per ABI. There is no catalogue or external metadata layer: the interface stays focused on chats, files, playback, subtitles, audio tracks, and reliable D-pad control.
Features
- QR code sign-in to your own Telegram account, with two-step verification
- Instant playback and real seeking, both while the file is still downloading
- MKV, MP4, AVI and TS with embedded subtitles and switchable audio tracks
- Software decoding for DTS, TrueHD and E-AC3 when the stick lacks the silicon
- Continue watching, with the position saved often enough to survive a power cut
- Chat-first, D-pad-friendly interface using Telegram thumbnails and file information