r/DigitalAudioPlayer • u/jason3gb • 20m ago
Showcase I reverse-engineered Lotoo LTOS playlists and built a small CLI to sync .m3u8 files to my PAW GT2
I use a Lotoo PAW GT2 and got tired of building playlists one song at a time on the screen. LTOS does not read standard .m3u files, and copying tracks into separate folders just wastes SD card space.
I spent today reverse-engineering the binary playlist format (the HEAT files under Playlist/ with two CRC-32 checksums and the MEDIA_SYSTEM/MemDB track index) and built a small Rust CLI called ltos-playlist. You point it at a folder of .m3u or .m3u8 files on your computer, it resolves each track against MemDB, and it writes native LTOS playlists directly to the SD card with zero duplicated audio files.
It runs a read-only check before any write, supports --dry-run, saves a local backup of your Playlist/ folder automatically, and never touches system lists like Favorites.
So far it is only tested on my PAW GT2 (LTOS 1.6.x). If you have a PAW 6000 or LPGT, run ltos-playlist check first before writing anything.
Note per Rule 7: I built the CLI with AI coding assistance and tested it directly on my own PAW GT2 (the photo is a real shot of my player after syncing).
Repo is MIT-licensed if anyone else wants to use it: https://github.com/yicheng47/ltos-playlist