mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 04:27:37 +03:00
Upgrade TagLib 2.0.2, GoReleaser 2.2.0 (#3217)
* Upgrade ci-goreleaser * Fix tests * Fix taglib lib path in macOS
This commit is contained in:
parent
6709ab3c5e
commit
bc06a59919
5 changed files with 11 additions and 9 deletions
|
@ -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"}))
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue