fix: show a new track started at the index that was playing

The player reported a track only when the queue index changed, to drop
the repeat stream-start messages playbin posts for one track. Starting
another album at the same index (track 1 after track 1) therefore sent
no event: the app kept the old track on screen, and pause said nothing
was playing, because it had cleared the current track while waiting
for that event.

A stream-start that begins a track the player was asked to start is now
always reported. Only repeats within one track are dropped, and the app
treats every report as a new play, so replaying the current track
resets its position and scrobbles again.
This commit is contained in:
Ansho Rei
2026-11-04 09:36:04 +01:00
parent 8f8004c205
commit 8255e39047
6 changed files with 61 additions and 16 deletions
+7
View File
@@ -2,6 +2,13 @@
One section per version, newest first.
## v0.2.1 (2026-11-04)
### Bug fixes
- Starting a track from another album at the same position as the one playing, such as track 1 after track 1, now shows the new track and its cover. Pause works straight away instead of saying nothing is playing.
- Replaying the track that is playing counts as a new play: its position resets and the server is told it is playing.
## v0.2.0 (2026-11-04)
### Features