Files
SpotiFLAC-Mobile/lib/providers
zarzet 6e137fcc24 feat(material): mark the current track in catalog and search lists
Online album, playlist and Library folder rows (phone tiles and the
desktop table) and Library search song rows now show the current track
the way Library and album rows do: a primaryContainer fill, the
equalizer glyph, and on phones the pill shape. Search and folder play
buttons pause and resume the current track instead of restarting it.
Mornye rows are unchanged.

Rows now match the player by the file they play rather than by media id
alone. Every queued item carries its file as its source, while its id
depends on where the queue started (a download row, a Library row, or
the path itself from a playlist). Library rows, downloaded and local
album rows and both tables compare files when both sides know one, so
a local track queued from a playlist marks the local album table too,
and an id another source happens to share never marks a row.

Catalog rows have no file of their own. The current item's download or
Library record is resolved once per track change, and a catalog row
matches on that record's id, on equal ISRCs, or on its catalog id
together with the same title and artist. A catalog id alone, or a title
and artist alone, never marks a row, and rows stay unmarked while the
record resolves.

The desktop songs table takes each row's playback provider instead of
a media id.
2026-10-21 23:45:09 +07:00
..