forked from abrasive/shairport
-
-
Notifications
You must be signed in to change notification settings - Fork 639
Open
Labels
Description
What happened?
Description
I am running multiple instances of Shairport Sync on a Linux machine using Docker. Volume control behaves differently depending on whether a single instance or multiple instances are connected from the phone.
Observed behavior
- When the phone app connects to only one Shairport-Sync instance, changing the volume from the Shairport-Sync side correctly updates the volume displayed in the phone app.
- When the phone app connects to multiple Shairport-Sync instances in a group, changing the volume from one Shairport-Sync instance causes the volume of all grouped players in the phone app to change.
- The resulting volume values shown in the phone app are not consistent with the value set from Shairport-Sync.
How the volume is being changed
I am using the command from sample.dbus.commands:
dbus-send --print-reply --system
--dest=org.gnome.ShairportSync
/org/gnome/ShairportSync
org.freedesktop.DBus.Properties.Set
string:org.gnome.ShairportSync
string:Volume
variant:double:-10.0
Question
- How can I further diagnose or debug this behavior?
- Is this expected behavior when multiple AirPlay receivers are grouped?
- Is there a recommended way to control volume via D-Bus in this multi-instance setup?
Any suggestions on how to locate the root cause or resolve this issue would be greatly appreciated.
Relevant log output
System Information.
Raspberry Pi 4, 2 x USB Sound Card
Configuration Information.
>> Display Config Start.
From "uname -a":
Linux MediaCenter 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
From /etc/os-release:
Debian GNU/Linux 11 (bullseye)
From /sys/firmware/devicetree/base/model:
Raspberry Pi 4 Model B Rev 1.5
Shairport Sync Version String:
4.3.7-AirPlay2-smi7-alac-OpenSSL-Avahi-ALSA-pa-pipe-soxr-metadata-dbus-sysconfdir:/etc
Command Line:
./shairport-sync --displayConfig
No configuration file.
>> Display Config End.
>> Goodbye!PulseAudio or PipeWire installed?
- Check if your system uses a Sound Server.
How did you install Shairport Sync?
Built from source
Check previous issues
- Confirm
Reactions are currently unavailable