Skip to content
/ id3 Public

just a copy of github.com/ascherkus/go-id3/tree/master/src/id3

License

Notifications You must be signed in to change notification settings

smtc/id3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UPDATE: use https://github.com/mikkyang/id3-go instead, it can modify mp3 tags.

id3

just a copy of github.com/ascherkus/go-id3/tree/master/src/id3

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 [...]

About

just a copy of github.com/ascherkus/go-id3/tree/master/src/id3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages