Skip to content

[Bug] MPRIS: PlaybackStatus reports "Playing" immediately after launch, before playback has started #683

Description

@cpuesser

Before submitting

  • I have attached my logs below (Terminal + Console), or explained why I cannot get them.
  • I searched the existing issues and this is not a duplicate.
  • I included concrete steps to reproduce.

Platform

Linux

Description

Immediately after launching QBZ — with no user interaction at all — the
MPRIS PlaybackStatus property is Playing and Metadata is populated
with the previously loaded track, although nothing is being played and no
audio stream exists.

Steps to reproduce

  1. Play a track in QBZ, then quit QBZ completely.
  2. Start the following poll loop in a terminal:
    (for i in $(seq 1 25); do printf '%2ds status=%s\n' "$i" \ "$(playerctl -p com.blitzfc.qbz status 2>&1)" sleep 1 done) & flatpak run com.blitzfc.qbz

Expected behavior

PlaybackStatus is Stopped (or Paused) until the user starts playback.
It should transition to Playing only when audio output actually begins.

Actual behavior

PlaybackStatus is Playing from the moment the MPRIS name appears, with
no audio being produced:

QBZ version

2.02

Installation method

Flatpak

Distribution / macOS version

CachyOS

Desktop environment / WM

KDE Plasma 6

Display server

Wayland

GPU

No response

Audio backend

PipeWire

Audio device / DAC

No response

Logs

qbz-playbug.log

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions