furtka-apps/apps/jellyfin
Daniel Maksymilian Syrnicki 2a31a7927c
Some checks are pending
CI / validate (push) Waiting to run
CI / shellcheck (push) Waiting to run
fix(jellyfin): use compose default-substitution so validator passes
Without a .env in the jellyfin app dir, validate-catalog.py's
\`docker compose config\` step substituted \${MEDIA_PATH} → empty →
\`:/media:ro\` which compose rejects ("empty section between colons"),
failing CI on every post-Jellyfin commit. Local runs skipped the
check because the validator gates it on \`which docker\` and my dev
box has none.

Fix: use the default-substitution form \${MEDIA_PATH:-/nonexistent}.
Empty/unset MEDIA_PATH now expands to /nonexistent — valid volume
spec, CI green. Real install flow (form fill → .env with real path)
substitutes the user value as before. /nonexistent is obviously
wrong, so if a broken install path ever reaches \`docker compose up\`
the mount fails loudly rather than silently mounting something
random.

Doesn't affect the already-published 26.10-alpha catalog tarball —
that one works end-to-end for the Web UI install flow. This fix is
purely to un-red CI on subsequent pushes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 12:18:57 +02:00
..
.env.example feat(jellyfin): add media-server app using new path-type setting 2026-04-21 11:40:29 +02:00
docker-compose.yaml fix(jellyfin): use compose default-substitution so validator passes 2026-04-21 12:18:57 +02:00
icon.svg feat(jellyfin): add media-server app using new path-type setting 2026-04-21 11:40:29 +02:00
manifest.json feat(jellyfin): add media-server app using new path-type setting 2026-04-21 11:40:29 +02:00