Skip to content

Commit

Permalink
backend support
Browse files Browse the repository at this point in the history
  • Loading branch information
dubo-dubon-duponey committed Mar 27, 2024
1 parent 9be81f1 commit e43ff40
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ ENV MOD_MDNS_NAME="Speakeasy"

# Will default to "default"
ENV MOD_AUDIO_DEVICE=""
ENV MOD_AUDIO_OUTPUT=alsa
ENV MOD_AUDIO_MIXER=""
ENV MOD_AUDIO_MODE="stereo"
ENV MOD_AUDIO_VOLUME_DEFAULT="-20.0"
Expand Down
3 changes: 0 additions & 3 deletions context/runtime/boot/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ export SHAIRPORT_MQTT_PORT="${SHAIRPORT_MQTT_PORT:-1883}"

# Useful for rpi4
export SHAIRPORT_GENERAL_INTERPOLATION="${SHAIRPORT_GENERAL_INTERPOLATION:-basic}"
# shellcheck disable=SC2034
export SHAIRPORT_GENERAL_OUTPUT_BACKEND="alsa"
# shellcheck disable=SC2034
export SHAIRPORT_GENERAL_MDNS_BACKEND="avahi"
# Just airplay 1
export SHAIRPORT_GENERAL_UDP_PORT_BASE="6000"
Expand Down
1 change: 1 addition & 0 deletions context/runtime/boot/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ helpers::logger::log DEBUG "[entrypoint]" "Preparing configuration"
# Connect specific env variables to shairport scheme
export SHAIRPORT_GENERAL_NAME="$MOD_MDNS_NAME"
export SHAIRPORT_GENERAL_PORT="${ADVANCED_PORT:-7000}"
export SHAIRPORT_GENERAL_OUTPUT_BACKEND="${MOD_AUDIO_OUTPUT:-alsa}"
# Useful for nightingale
export SHAIRPORT_GENERAL_PLAYBACK_MODE="${MOD_AUDIO_MODE:-stereo}"
# Useful for all
Expand Down

0 comments on commit e43ff40

Please sign in to comment.