ilius / mp3duration

Golang package for the calculation of an mp3 file in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mp3duration

A Golang package for calculating the duration of an mp3 file. Ported from https://github.com/ddsol/mp3-duration.

Usage

duration, err := mp3duration.Calculate("src/mp3duration/testdata/demo - cbr.mp3")
if err != nil {
    log.Fatal(err)
}
fmt.Printf("Duration %v\n", duration)

About

Golang package for the calculation of an mp3 file in go

License:MIT License


Languages

Language:Go 100.0%