Is it possible to switch audio output to a bluetooth speaker via a script or command line?
Thank you Youness. this was definitely what I was looking for.youness wrote:Yes you can, using pacmd (pulseaudio command):
pacmd set-default-sink bluez_sink.xx_xx_xx_xx_xx_xx
replace xx_xx... by the MAC of your speaker.
More details here: http://youness.net/raspberry-pi/bluetoo ... spberry-pi