Allow the merge of MP3 files while honoring chapter metadata. This library requires FFmeg to be installed on the target system.
package main
import (
"github.com/jo-hoe/mp3-joiner"
)
func main() {
builder := NewMP3Builder()
builder.Append("/path/to/myAudioFile.mp3", 0, 10)
builder.Append("/path/to/myOtherAudioFile.mp3", 0, -1)
builder.Build("/path/to/mergedAudioFile.mp3")
}
Project used golangci-lint
for linting.
https://golangci-lint.run/usage/install/
Run the linting locally by executing
golangci-lint run ./...
in the working directory