# Libmtag-ruby-0.1.0: simple music tagging library

**URL:** <https://www.ruby-forum.com/t/libmtag-ruby-0-1-0-simple-music-tagging-library/103664>\
**Category:** Ruby\
**Created:** [May 9, 2007, 12:55am UTC](https://www.ruby-forum.com/t/libmtag-ruby-0-1-0-simple-music-tagging-library/103664 "2007-05-09T00:55:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fcruxen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/ecae2f/32.png) [@fcruxen](https://www.ruby-forum.com/u/fcruxen)\
**Post date:** [May 9, 2007, 12:55am UTC](https://www.ruby-forum.com/t/libmtag-ruby-0-1-0-simple-music-tagging-library/103664/1 "2007-05-09T00:55:12Z")

</div>

Hi everyone,

I just released the first version of this new project which aims to  
provide library for music tagging with the simplest yet useful API.

It’s done in C, and basically it’s a wrapper around taglib, so it  
supports the same formats: ID3v1, ID3v2 for MP3 files, Ogg Vorbis and  
FLAC files.

Of course, bindings for Ruby and… _cough_ Python _cough_ are provided.

The client code looks like this:

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

I hope you like it:  
[http://code.google.com/p/libmtag/](http://code.google.com/p/libmtag/)
