libmtag-0.1.0: New project, new release

This is the first release of libmtag, the simple music tagging library. It is an abstraction layer around taglib that provides a simpler and more generic API.

It is coded in C, but there are bindings for Ruby and Python.

It’s quite simple (Ruby):

file = MTag::File.new("song.mp3")
print(”%s - %s\n” % [file.tag.artist, file.tag.title])
file.tag.artist = "foo"
file.save

There’s a feature that allows you to select either ID3v1 or v2 tags, but that’s only available in the C interface.

Ideas for the future:

  • Support for custom tags; like “rating”, “playcount” or “tags”
  • Remove either ID3v1 or ID3v2
  • Copy ID3v1 to ID3v2 or the other way
  • Implement the parsing instead of using taglib

Grab it while it’s hot😉

Link.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s