libmtag-0.2.0: Now with a CLI

The most important feature of this release is the CLI. Its usage is very simple:

mtag --get -f myfile.mp3
mtag --set --artist --value "My Favorite" -f myfile.mp3

But also now libmtag has one feature that taglib doesn’t have: file type identification. Currently taglib relies on the file name extension to guess the file type, and usually that’s enough, but not always.

So there’s a new function, mtag_file_get_type, which basically returns the mime type (audio/mpeg, audio/x-vorbis, audio/x-flac, etc.)

Grab it from here.

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