Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vbatts/go-taglib

libtag_c binding for golang - clone of https://bitbucket.org/taruti/taglib.go
https://github.com/vbatts/go-taglib

Last synced: 2 months ago
JSON representation

libtag_c binding for golang - clone of https://bitbucket.org/taruti/taglib.go

Awesome Lists containing this project

README

        

go-taglib
=========

Interface to the taglib audio tagging library with MIT license.

## Install

go get github.com/vbatts/go-taglib/taglib

## Example

package main

import "github.com/vbatts/go-taglib/taglib"
import "fmt"

func main() {
f := taglib.Open("foo.mp3")
if f==nil { return }
defer f.Close()
fmt.Printf("%#v\n",f.GetTags())
fmt.Printf("%#v\n",f.GetProperties())
}

## Dependencies

On debian:

apt-get install libtagc0-dev

On Fedora:

yum install install taglib-devel

On OS X:

brew install taglib