Files
NovaSonic/.env.example
T
2026-06-08 20:43:03 +02:00

37 lines
1.2 KiB
Bash

# Copy to .env and fill in your values
# Pre-fills the URLs on the setup screen
NAVIDROME_URL=https://music.yourdomain.com
BACKEND_URL=https://novasonic-api.yourdomain.com
# Absolute path to your Navidrome music library on the host
MUSIC_PATH=/srv/navidrome/music
AUDIO_FMT=mp3 # mp3 | flac | opus | best (used by yt-dlp)
AUDIO_QUALITY=0 # 0 = best quality (used by yt-dlp)
MAX_PARALLEL=2
# Download backend: ytdlp | squid | auto
# ytdlp - always use yt-dlp
# squid - always use squid.wtf (Qobuz)
# auto - try squid.wtf first, fall back to yt-dlp if not found (default)
DOWNLOAD_BACKEND=auto
# Quality for squid.wtf / Qobuz downloads
# mp3 - MP3 320 kbps
# flac - FLAC 16-bit / 44.1 kHz
# hi-res - FLAC 24-bit / 96 kHz
SQUID_QUALITY=mp3
# Spotify Importer (optional — free, no Premium needed)
# 1. Go to https://developer.spotify.com/dashboard and create an app
# 2. Set any name, Redirect URI: http://localhost
# 3. Copy the Client ID and Client Secret below
SPOTIFY_CLIENT_ID=
SPOTIFY_CLIENT_SECRET=
# Ticketmaster Events (optional — free API key)
# 1. Sign up at https://developer.ticketmaster.com/
# 2. Create an app — copy the Consumer Key
TICKETMASTER_API_KEY=