Skip to content

🎧 Your Personal Streaming Service

chore(deps): update TagLib to version 2.1 (#4185)

Deluan Quintãoe3f740cafb34
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 4ac1b2c6b..d2375a6e6 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true
env:
- CROSS_TAGLIB_VERSION: "2.0.2-1"
+ CROSS_TAGLIB_VERSION: "2.1.0-1"
IS_RELEASE: ${{ startsWith(github.ref, 'refs/tags/') && 'true' || 'false' }}
jobs:
diff --git a/Dockerfile b/Dockerfile
index 4b4c3d18c..54913aca7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,7 +28,7 @@ COPY --from=xx-build /out/ /usr/bin/
### Get TagLib
FROM --platform=$BUILDPLATFORM public.ecr.aws/docker/library/alpine:3.21 AS taglib-build
ARG TARGETPLATFORM
-ARG CROSS_TAGLIB_VERSION=2.0.2-1
+ARG CROSS_TAGLIB_VERSION=2.1.0-1
ENV CROSS_TAGLIB_RELEASES_URL=https://github.com/navidrome/cross-taglib/releases/download/v${CROSS_TAGLIB_VERSION}/
RUN <<EOT
diff --git a/Makefile b/Makefile
index 9d610fc0e..b6d9bea07 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ PLATFORMS ?= $(SUPPORTED_PLATFORMS)
DOCKER_TAG ?= deluan/navidrome:develop
# Taglib version to use in cross-compilation, from https://github.com/navidrome/cross-taglib
-CROSS_TAGLIB_VERSION ?= 2.0.2-1
+CROSS_TAGLIB_VERSION ?= 2.1.0-1
UI_SRC_FILES := $(shell find ui -type f -not -path "ui/build/*" -not -path "ui/node_modules/*")
diff --git a/adapters/taglib/taglib.go b/adapters/taglib/taglib.go
index c89dabf62..62a949d85 100644
--- a/adapters/taglib/taglib.go
+++ b/adapters/taglib/taglib.go
@@ -7,6 +7,7 @@ import (
"strings"
"time"
+ "github.com/navidrome/navidrome/conf"
"github.com/navidrome/navidrome/core/storage/local"
"github.com/navidrome/navidrome/log"
"github.com/navidrome/navidrome/model/metadata"
@@ -148,4 +149,7 @@ func init() {
// ignores fs, as taglib extractor only works with local files
return &extractor{baseDir}
})
+ conf.AddHook(func() {
+ log.Debug("TagLib version", "version", Version())
+ })
}