Go wrapper for taglib

go-taglib

Go wrapper for taglib Build Status

Dependencies

You must have the static taglib libraries installed in order to compile go-taglib.

OSX:

brew install taglib

Ubuntu:

sudo apt-get install libtagc0-dev

Install

go get github.com/wtolson/go-taglib

Documentation

Checkout the documentation at http://godoc.org/github.com/wtolson/go-taglib

Comments
  • Add the write tag feature

    Add the write tag feature

    Hi, I use your library to develop a very simple podcaster : https://github.com/jcnoir/goblackpodder Your library helped me a lot to add missing podcast tags. I needed to be able to write tags so I added the write feature. I also write unit tests for the write feature. Feel free to merge if you think it may be useful to other developers. Thanks for your work !

  • go-taglib import problem

    go-taglib import problem

    Hi !

    I have a little problem with your library. As I import your project with : "github.com/wtolson/go-taglib", I have to call the library function with go-taglib.SomeFunction(...) but the - is not recognise for the package name. Could you (if it does not bother you of course), change the name of the repository otherwise every people using the library will have to change the folder name ?

    Thanks a lot !

  • Please add a license

    Please add a license

    Hi, thanks for writing this wrapper! I noticed that this repo is missing a license. It would be great if you could choose and add a proper license like the MIT License, Unlicense or a Creative Commons License for example.

    The reason for this is that

    1. https://pkg.go.dev/github.com/wtolson/go-taglib requires a license to render the documentation
    2. It's impossible to be "legally safe" as a user otherwise
  • Add a generic API to get/set the tags using a tag name and a tag value

    Add a generic API to get/set the tags using a tag name and a tag value

    Add a generic API to handle tags using a tag name and a tag value. Allows to write generic code to handle different tags. The test code has also been updated.

  • gofmt

    gofmt

    Just ran

    gofmt -w .
    

    on the project root. That's all.

    https://blog.golang.org/go-fmt-your-code


    I made this PR with a project going on over at https://github.com/rotblauer/gofmt-att, and it's definitely a work in progress. So if I got something wrong, or this is annoying at all, please file an issue over there and we'll sort it out.

  • Windows Compatibility

    Windows Compatibility

    Hey, I'm trying to incorporate this package into perkeep. I cannot get the windows tests to work though, they keep failing with ErrInvalidFile, while Linux and MacOS tests work fine. I suspect some encoding issue; do you have an idea on how to use this package on windows?

  • Broken tests on Go 1.11

    Broken tests on Go 1.11

    This should be fixed:

    # github.com/wtolson/go-taglib
    src/github.com/wtolson/go-taglib/taglib_test.go:258: T.Errorf format %d has arg year of wrong type string
    src/github.com/wtolson/go-taglib/taglib_test.go:262: T.Errorf format %d has arg track of wrong type string
    FAIL	github.com/wtolson/go-taglib [build failed]
    
  • Arbitrary tags & clear all tags

    Arbitrary tags & clear all tags

    I haven't investigated into TagLib at all, just asking: is it possible to implement a function for writing arbitrary tags? Or at least the ones listed there: http://taglib.github.io/api/classTagLib_1_1PropertyMap.html?

    If not possible, it would be nice to be able to cleanse all the tags as a fallback.

  • Does it support album artist

    Does it support album artist

    I am at the moment trying to evaluate https://github.com/vbatts/go-taglib vs https://github.com/wtolson/go-taglib

    Still not sure which one to choose, but I noticed your library has functions for retrieving each type of tag, but there is no "get album artist", can this be added? "album artist" is very important to me as I need to index a lot of mixed artist albums, the "album artist" is essential for keeping albums together.

Go-video-preview-ffmpeg-wrapper - A simple helper wrapper to generate small webm video previews using ffmpeg, useful for web previews.

Go-video-preview-ffmpeg-wrapper A simple helper wrapper to generate small webm video previews using ffmpeg, useful for web previews. Getting Started u

Jan 5, 2022
Via Cep Wrapper is a api wrapper used to find address by zipcode (Brazil only)
Via Cep Wrapper is a api wrapper used to find address by zipcode (Brazil only)

Viacep Wrapper Viacep Wrapper is an API wrapper built with Golang used to find address by zipcode (Brazil only). This project was developed for study

Jan 25, 2022
Golang telegram bot API wrapper, session-based router and middleware

go-tgbot Pure Golang telegram bot API wrapper generated from swagger definition, session-based routing and middlewares. Usage benefits No need to lear

Nov 16, 2022
JSON or YAML configuration wrapper with convenient access methods.

Config Package config provides convenient access methods to configuration stored as JSON or YAML. This is a fork of the original version. This version

Dec 16, 2022
Go wrapper for LZO compression library

This is a cgo wrapper around the LZO real-time compression library. LZO is available at http://www.oberhumer.com/opensource/lzo/ lzo.go is the go pack

Mar 4, 2022
An easy-to-use XChaCha20-encryption wrapper for io.ReadWriteCloser (even lossy UDP) using ECDH key exchange algorithm, ED25519 signatures and Blake3+Poly1305 checksums/message-authentication for Go (golang). Also a multiplexer.

Quick start Prepare keys (on both sides): [ -f ~/.ssh/id_ed25519 ] && [ -f ~/.ssh/id_ed25519.pub ] || ssh-keygen -t ed25519 scp ~/.ssh/id_ed25519.pub

Dec 30, 2022
A light libxml wrapper for Go

Gokogiri LibXML bindings for the Go programming language. By Zhigang Chen and Hampton Catlin This is a major rewrite from v0 in the following places:

Dec 27, 2022
goxml - A thin wrapper around libxml2

golibxml golibxml is a simple wrapper for libxml. The goal is to avoid any extra magic so that a more friendly library can be written to sit on top of

Oct 25, 2020
levigo is a Go wrapper for LevelDB

levigo levigo is a Go wrapper for LevelDB. The API has been godoc'ed and is available on the web. Questions answered at [email protected].

Jan 5, 2023
Database wrapper that manage read write connections

rwdb Database wrapper that manage read write connections Install go get github.com/andizzle/rwdb Create connections package main import "github.com/

Dec 10, 2022
A simple wrapper around sql.DB to help with structs. Not quite an ORM.

go-modeldb A simple wrapper around sql.DB to help with structs. Not quite an ORM. Philosophy: Don't make an ORM Example: // Setup require "modeldb" db

Nov 16, 2019
levigo is a Go wrapper for LevelDB

levigo levigo is a Go wrapper for LevelDB. The API has been godoc'ed and is available on the web. Questions answered at [email protected].

Jan 5, 2023
Golang wrapper for Exiftool : extract as much metadata as possible (EXIF, ...) from files (pictures, pdf, office documents, ...)

go-exiftool go-exiftool is a golang library that wraps ExifTool. ExifTool's purpose is to extract as much metadata as possible (EXIF, IPTC, XMP, GPS,

Dec 28, 2022
Go (golang) wrapper for GDAL, the Geospatial Data Abstraction Library

------------- About ------------- The gdal.go package provides a go wrapper for GDAL, the Geospatial Data Abstraction Library. More information about

Dec 24, 2022
Go wrapper around the Iup GUI toolset

Iup Go Wrapper iup is a Go wrapper around the Iup GUI toolkit. The project was started on April 27, 2011. Fork https://github.com/grd/iup is a fork of

Nov 28, 2020
Go Wrapper for the wxWidgets GUI

This is the source code for wxGo a Go wrapper of the wxWidgets library. The actuall wxWidgets source code is not included and will need to be downloa

Nov 30, 2022
A simple wrapper around libpcap for the Go programming language

PCAP This is a simple wrapper around libpcap for Go. Originally written by Andreas Krennmair [email protected] and only minorly touched up by Mark Smith

Dec 5, 2022
A protoc-gen-go wrapper including an RPC stub generator

// Copyright 2013 Google. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE fi

Nov 17, 2022
A tiny wrapper around NSQ topic and channel :rocket:

Event Bus NSQ A tiny wrapper around go-nsq topic and channel. Protect nsq calls with gobreaker. Installation go get -u github.com/rafaeljesus/nsq-even

Sep 27, 2022
A tiny wrapper over amqp exchanges and queues 🚌 ✨

Rabbus ?? ✨ A tiny wrapper over amqp exchanges and queues. In memory retries with exponential backoff for sending messages. Protect producer calls wit

Dec 18, 2022