Since I was confused by the error I got yesterday (device busy), I had added a sleep of 10 seconds to my script, before it was supposed to start alsaloop cmd. Shouldn't this had been enough to work already?
"Device busy" means some other application has the device open. You need to do tests with squeezelite enabling debug logging ("-d outpput=debug") and manual/controlled alsaloop to confirm behaviour of "-C" and alsa device opens/closes .
Without looking at the squeezelite code, I don't know for sure.
The other possibility is that it is another application (perhaps accidentally) that is causing "device busy".
On the same page, there even is an option to use alsa control instead of software volume ("Use ALSA control for volume adjustment otherwise use software volume adjustment.").
I guess with this, I wouldn't even have needed to use "Event Trigger"? Anyway, tinkering around with this box and learing about it, is fun
... just wondering, whether there are any (dis)advantages in using that option.
I guess with this, I wouldn't even have needed to use "Event Trigger"? Anyway, tinkering around with this box and learing about it, is fun

Tell squeezelite to use alsa control means any volume and gain setting will be passed to I think the open output alsa device. If the alsa device is open - then it could be "busy" for alsaloop - so I think it may not work. Again you'll need to test to confirm.
Some user like prefer the alsa volume control if their USB device has a volume control knob - it means there is only one volume control i.e. alsa control & manual control are the same.
Leave a comment: