[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"
[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:
if
$AIRPLAY_PASSWORD
is set.