Files
minstrel/android/app
bvandeusenandClaude Opus 5.5 e34c3d7bf3 fix(android): a song on repeat is a play per listen, and a late start reply can't make a quick skip record twice (#8071, #8073)
The play reporter keyed a play on the current track id, which repeat-one
and the same song twice in a row never change, so any number of listens
became one play closed at the last loop's position. PlayerController now
counts media-item transitions (Media3 reports a repeat as one) as
PlayerUiState.listenSeq, and the reporter keys a play on (track, listen).

A play_started reply cleared the in-flight flag whichever play it was for.
After a quick skip, song A's late reply cleared the flag song B's start had
set, so skipping B before its reply recorded it offline as well as live.
Each start now carries a token, and only its own play's reply adopts the id
or clears the flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 00:10:09 -05:00
..