volumio / volumio3-backend

Other
32 stars 39 forks source link

allow shairport to control volume #190

Open RomanSmolka opened 3 months ago

RomanSmolka commented 3 months ago

Fixes a problem when AirPlay playback volume is limited by the system volume as reported on the community forums here and here.

Currently there are two separate volume controls: one managed by shairport-sync, responding to the source volume changes; second managed by Volumio, responding to the changes in UI and other events.

The PR changes the behavior by setting ignore_volume_control in the shairport-sync.conf file, effectively disabling the volume control done by shairport-sync itself, and passing the volume change events from the source to Volumio, letting it do the volume control as it should.

PS: This is my first contribution to Volumio, discussion is welcome :)

RomanSmolka commented 1 month ago

@volumio Can anyone take a look at this PR? It's been sitting here for two months...