mirror of
https://github.com/navidrome/navidrome.git
synced 2026-04-17 04:59:37 -04:00
Remove the CGO-based TagLib adapter (adapters/taglib/) and all cross-taglib build infrastructure. The WASM-based go-taglib adapter (adapters/gotaglib/) is now the sole metadata extractor. Add a musl-based build stage (build-alpine) to the Dockerfile using xx for cross-compilation. This produces a dynamically-linked musl binary for the Docker image, which allows purego to dlopen native libwebp at runtime. The glibc build stage is kept for standalone binary distribution. The Docker image now bundles libwebp for native WebP encoding, with automatic fallback to the built-in WASM encoder if unavailable.