The events dispatcher keyed a play on the track id, so repeat-one, a
one-track queue on repeat-all, or the same song twice in a row stayed one
play, closed at the last loop's position and usually graded a skip. The
player store now counts listens (player.listen moves whenever playback
starts an item from its beginning) and the dispatcher keys a play on
(track, listen).
play_started's reply was adopted only while still 'playing', and nothing
marked a start in flight, so a stall or pause just after starting threw the
id away and the next 'playing' posted a second start, which closed the
first as a skip. The dispatcher now holds the pending listen and adopts the
reply whenever that listen is still current.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>