Fix MUSIC_PATH direct mount + backend URL prefill

- MUSIC_PATH is now used 1:1 inside the container (no /music remapping)
- config.js 404-safe with inline fallback defaults
- Prefill uses .trim() so empty strings don't overwrite fields

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-04-25 17:37:30 +02:00
1 parent 56c5662a11
commit 6e00b78219
5 files changed
+11 -9

No files matched your search

+3 -2
View File
@@ -4,8 +4,9 @@
NAVIDROME_URL=https://music.yourdomain.com
BACKEND_URL=https://novasonic-api.yourdomain.com
# Path to your Navidrome music library on the host
MUSIC_PATH=/path/to/your/navidrome/music
# Absolute path to your Navidrome music library on the host
# This exact path is used inside the container — no subdirectory is added
MUSIC_PATH=/srv/navidrome/music
AUDIO_FMT=mp3 # mp3 | flac | opus | best
AUDIO_QUALITY=0 # 0 = best quality