Closed coen1111 closed 3 months ago
Looks like there are some other changes in your PR. Please make sure the PR is based on the "development" branch.
My guess is that you wanted to include only the 2 files snapcastmpris.conf and snapcastmpris.service
Is this correct? In this case I can just do the changes locally.
I based the changes on master. So the other commits came along...
But you are right, I only want to change those 2 files, so you can change those locally too.
In order to let volume sychronization with snapcast work with Beocreate, the alsa volume mixer needs to be changed in snapcastmpris. This was provided via #https://github.com/hifiberry/snapcastmpris/pull/12. In order to provide the alsa mixer name automatically, the /etc/hifiberry.state variable $CURRENT_MIXER_CONTROL can be provided to the service. This has been added with this pull request. Also, you can now enable the volume sychronization of snapcastmpris via the configuration file. A default of sync-alsa-volume = 0 has been added. Additionally the alsa volume mixer can be provided via the configuration file too.