balena-io-experimental / balena-sound

Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect
https://balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/
MIT License
2.44k stars 432 forks source link

User would like to set a password for connecting via airport #370

Open jellyfish-bot opened 3 years ago

jellyfish-bot commented 3 years ago

[rahul-thakoor] We are using shairport-sync for the airport plugin. It does allow setting a password for connecting. We should allow setting this via an environment variable.

We can then start Airplay using something like:

# Start AirPlay
exec shairport-sync \
  --name "$SOUND_DEVICE_NAME" \
  --output pa \
  --password "$AIRPLAY_PASSWORD" \
  | echo "Shairport-sync started. Device is discoverable as $SOUND_DEVICE_NAME"

if $AIRPLAY_PASSWORD is set.

jellyfish-bot commented 3 years ago

[rahul-thakoor] This issue has attached support thread https://jel.ly.fish/51162774-cdd6-43bf-90a9-1f338af526ea