"dummy AVRCP player" breaks GNOME's handling of play/pause button. Sometimes
- PipeWire version (
pipewire --version
): 0.3.40 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Fedora Linux 35 (Workstation Edition) - Desktop Environment: GNOME
- Kernel version (
uname -r
): 5.14.18-300.fc35.x86_64
Description of Problem:
The introduction of "dummy AVRCP player" in 4b831021 enabled by default breaks play/pause button in GNOME desktop.
Actual Results:
When I am playing music or video, play/pause button in my headphones always works. However, when the playback is paused only 50% times the play/pause button of my headphones works. It's not completely random each time. Instead, "unpausing" works correctly for some time and after some time it does not work.
Expected Results:
I don't have to create this file to make play/pause button of my headphones working always:
[tomasz@gasior ~]$ cat ~/.config/wireplumber/bluetooth.lua.d/50-bluez-config.lua
bluez_monitor.properties = {
["bluez5.dummy-avrcp-player"] = false,
}
**Update ** This is proper syntax for wireplumber 0.4.10: wireplumber#282 (closed)
[tomasz@gasior ~]$ cat ~/.config/wireplumber/bluetooth.lua.d/51-bluez-config.lua
bluez_monitor.properties["bluez5.dummy-avrcp-player"] = false
Additional Info (as attachments):
To debug this problem I use preview window for setting custom keyboard shortcut in GNOME Control Center (Settings). screenshot This little window shows name of pressed button.
With bluez5.dummy-avrcp-player
disabled when I press play/pause button in my headphones always "audio play" button is pressed which by default in GNOME is assigned to play/pause toggle-type action.
With bluez5.dummy-avrcp-player
enabled (which is default) when I press play/pause button in my headphones:
- when audio is playing "audio play" button is pressed which in GNOME is assigned to play/pause toggle-type action;
- when audio is not playing:
- sometimes "audio pause" button is pressed which in GNOME is assigned to pause action,
- sometimes "audio play" button is pressed which in GNOME is assigned to play/pause toggle-type action.