🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Upgrade TagLib 2.0.2, GoReleaser 2.2.0 (#3217)
Deluan Quintãobc06a599193a
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex c4f93f132..43732d34c 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -13,7 +13,7 @@ jobs:go-lint:name: Lint Go coderuns-on: ubuntu-latest- container: deluan/ci-goreleaser:1.22.3-1+ container: deluan/ci-goreleaser:1.23.0-1steps:- uses: actions/checkout@v4@@ -44,7 +44,7 @@ jobs:go:name: Test Go coderuns-on: ubuntu-latest- container: deluan/ci-goreleaser:1.22.3-1+ container: deluan/ci-goreleaser:1.23.0-1steps:- name: Check out code into the Go module directoryuses: actions/checkout@v4@@ -104,7 +104,7 @@ jobs:name: Build binariesneeds: [js, go, go-lint]runs-on: ubuntu-latest- container: deluan/ci-goreleaser:1.22.3-1+ container: deluan/ci-goreleaser:1.23.0-1steps:- name: Checkout Codeuses: actions/checkout@v4diff --git a/.goreleaser.yml b/.goreleaser.ymlindex 28f00c749..09d638067 100644--- a/.goreleaser.yml+++ b/.goreleaser.yml@@ -1,5 +1,6 @@# GoReleaser configproject_name: navidrome+version: 2builds:- id: navidrome_linux_amd64@@ -121,7 +122,7 @@ checksum:name_template: "{{ .ProjectName }}_checksums.txt"snapshot:- name_template: "{{ .Tag }}-SNAPSHOT"+ version_template: "{{ .Tag }}-SNAPSHOT"release:draft: truediff --git a/Makefile b/Makefileindex 54724aa0f..481d06fd1 100644--- a/Makefile+++ b/Makefile@@ -9,7 +9,7 @@ GIT_SHA=source_archiveGIT_TAG=$(patsubst navidrome-%,v%,$(notdir $(PWD)))endif-CI_RELEASER_VERSION=1.22.3-1 ## https://github.com/navidrome/ci-goreleaser+CI_RELEASER_VERSION=1.23.0-1 ## https://github.com/navidrome/ci-goreleaserUI_SRC_FILES := $(shell find ui -type f -not -path "ui/build/*" -not -path "ui/node_modules/*")diff --git a/scanner/metadata/taglib/taglib_test.go b/scanner/metadata/taglib/taglib_test.goindex 69ab25750..96819229e 100644--- a/scanner/metadata/taglib/taglib_test.go+++ b/scanner/metadata/taglib/taglib_test.go@@ -95,10 +95,10 @@ var _ = Describe("Extractor", func() {m := mds[file]- Expect(m).To(HaveKeyWithValue("replaygain_album_gain", []string{albumGain}))- Expect(m).To(HaveKeyWithValue("replaygain_album_peak", []string{albumPeak}))- Expect(m).To(HaveKeyWithValue("replaygain_track_gain", []string{trackGain}))- Expect(m).To(HaveKeyWithValue("replaygain_track_peak", []string{trackPeak}))+ Expect(m["replaygain_album_gain"]).To(ContainElement(albumGain))+ Expect(m["replaygain_album_peak"]).To(ContainElement(albumPeak))+ Expect(m["replaygain_track_gain"]).To(ContainElement(trackGain))+ Expect(m["replaygain_track_peak"]).To(ContainElement(trackPeak))Expect(m).To(HaveKeyWithValue("title", []string{"Title", "Title"}))Expect(m).To(HaveKeyWithValue("album", []string{"Album", "Album"}))diff --git a/scanner/metadata/taglib/taglib_wrapper.go b/scanner/metadata/taglib/taglib_wrapper.goindex 067710f99..888c6ac8c 100644--- a/scanner/metadata/taglib/taglib_wrapper.go+++ b/scanner/metadata/taglib/taglib_wrapper.go@@ -4,6 +4,7 @@ package taglib#cgo pkg-config: taglib#cgo illumos LDFLAGS: -lstdc++ -lsendfile#cgo linux darwin CXXFLAGS: -std=c++11+#cgo darwin LDFLAGS: -L/opt/homebrew/opt/taglib/lib#include <stdio.h>#include <stdlib.h>#include <string.h>