mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-29 15:28:48 +02:00
Playlist tracks were read newest-first (added_at DESC, rowid DESC), so a batch import - inserted in playlist order with one timestamp - came back reversed, and the in-memory prepend matched that. Playlists now use insertion order: snapshot reads ASC, single adds append, and batch adds append in order. Existing rows were already stored in playlist order, so old libraries display correctly without migration. The preview-cover query follows the first visible track.