0

API for volume does not have effect on Spotify input??!

Hi Hifiberrry Team,

I am trying to add some Home-Automation to HifiBerry OS and wonder what the right method is for controlling volume.

Tried to set volume using:

curl -X POST http://127.0.0.1:80/api/volume -d '{"percent":"-50"}'

But this does not seem to have any effect on Spotify as Source?
Would i need to create my own ALSA Mixer API, or is there a better way?

 

Thanks,
Tony

5 comments

Please sign in to leave a comment.