balena-sound - Change name on the Spotify connect service

How do I change the name of the Spotify Connect serivce?

I have added the “device environment variable” BLUETOOTH_DEVICE_NAME and the bluetooth name is fine, but the Spotify Connect service is not what I want.

I see the command in the “Spotify” container,

/usr/bin/librespot --name balenaSound Spotify xxxx --backend pipe

I would like that --name variable to be “Balcony” and nothing more.

Is there a variable I can change on that service from balena cloud?

Thanks.

I found it… Added the variable “DEVICE_NAME” under “Device Variables” in balena cloud.

Great job! Thanks for letting us know.

John

1 Like