fix: make local development work out of the box

- library.example.yaml now uses relative ./media paths for local runs
- clearer startup errors for missing roots and config files
- ignore the local config/library.yaml override
This commit is contained in:
TapTap committed 2026-11-13 12:12:17 +00:00
1 parent f5e247e164
commit af2a8bd35d
5 files changed
+31 -11

No files matched your search

+10 -3
View File
@@ -1,4 +1,11 @@
# Example library configuration. Mount the real file as a ConfigMap.
# Example library configuration.
#
# The paths below are relative to the working directory and are meant for local
# development: `./gradlew run` creates a `./media` tree after you run
# `mkdir -p media/music media/longform`.
#
# In Kubernetes the real file is mounted as a ConfigMap and should use absolute
# paths, e.g. /mnt/media/music/alice and /mnt/media/longform.
#
# Folder IDs are stable identifiers used by songs and users. Never reuse an ID
# for a different path.
@@ -7,8 +14,8 @@ library:
- id: 1
name: "Music"
type: music
path: /mnt/media/music
path: ./media/music
- id: 10
name: "Audiobooks & Podcasts"
type: longform
path: /mnt/media/longform
path: ./media/longform