Files
audioserver/.env.example
T

56 lines
3.2 KiB
Bash

# audioserver — environment configuration template
# Copy to .env and fill in your values:
# cp .env.example .env
# ── BeoCreate DSP Pi ──────────────────────────────────────────────────────────
# Hostname or IP of the BeoCreate Pi (hifiberrydsp REST API proxy target)
BEOCREATE_HOST=beocreate.local
BEOCREATE_PORT=13141
# ── Audio FIFOs ───────────────────────────────────────────────────────────────
# Host directory containing mopidy.fifo, turntable.fifo, cava.fifo, stream.fifo
# Run ./scripts/init-pipes.sh once to create these
AUDIO_PIPES_DIR=/opt/audiocontrol/pipes
# ── Music library ─────────────────────────────────────────────────────────────
# Host path for local music (mounted read-only into Mopidy)
MUSIC_DIR=/opt/audiocontrol/music
# ── Frontend ──────────────────────────────────────────────────────────────────
# Port the web UI is served on
FRONTEND_PORT=8180
# ── Timezone ──────────────────────────────────────────────────────────────────
TZ=Europe/Vienna
# ── HiFiBerry capture ─────────────────────────────────────────────────────────
# ALSA card name for the turntable capture service on the host
# Find with: arecord -l
HIFIBERRY_CARD=sndrpihifiberry
# ── Icecast2 streaming ────────────────────────────────────────────────────────
# Passwords for the Icecast2 server (port 8000).
# stream-relay pushes to /stream.mp3 using ICECAST_SOURCE_PASSWORD.
ICECAST_SOURCE_PASSWORD=groove_source
ICECAST_RELAY_PASSWORD=groove_relay
ICECAST_ADMIN_PASSWORD=groove_admin
# Listener password — mobile app authenticates with this
ICECAST_LISTENER_PASSWORD=groove_listen
# ── Spotify (mopidy-spotify) ──────────────────────────────────────────────────
# Register an app at https://developer.spotify.com/dashboard
SPOTIFY_CLIENT_ID=
SPOTIFY_CLIENT_SECRET=
# ── Network addresses ─────────────────────────────────────────────────────────
# LAN IP of this Pi — used by Snapserver (cover art host) and Mopidy/Iris
SNAPSERVER_HOST=192.168.178.100
# Host running the Beets web service (mopidy-beets)
BEETS_HOST=192.168.178.100
# IPs of devices that stream audio into Snapserver over TCP (snapclients)
TCP_POP_HOST=192.168.178.95
TCP_TP_HOST=192.168.178.89
TCP_FRAMEWORK_HOST=192.168.178.183