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
Generated
+1 -1
View File
@@ -4385,7 +4385,7 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
[[package]]
name = "remus"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"anyhow",
"directories",