Files
qbz/crates
vicrodh 8cad9c7ca7 fix(mpris): publish Paused after a session restore (#683)
A restored session runs `refresh_now_playing`, whose MPRIS push is the
optimistic `Playing` at position 0 — correct for the real play path, where
a stream is about to open and the poll loop's play/pause edge corrects it.
Nothing opens on restore, so `playerctl status` answered "Playing" from
boot until the first real play, and the sleep inhibitor was armed for a
paused app. Publish Paused at the resume position once the restore is done.

Verified: playerctl reports Paused on a restored, unplayed session.

cc
2026-09-11 13:53:27 -06:00
..