Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ID3 parsing library for go
Go
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
src/id3
test
.gitignore
LICENSE
README.md
TODO

README.md

ID3 Parsing For Go

Andrew Scherkus May 21, 2012

Introduction

Simple ID3 parsing library for go based on the specs at www.id3.org.

It doesn't handle everything but at least gets the imporant bits like artist, album, track, etc...

Usage

Pass in a suitable io.Reader and away you go!

fd, _ := os.Open("foo.mp3")
defer fd.Close()
file := id3.Read(fd)
if file != nil {
        fmt.Println(file)
}

Examples

An example tag reading program can be found under id3/tagreader.

go install id3/tagreader
$GOPATH/bin/tagreader path/to/file.mp3 [...]
Something went wrong with that request. Please try again.