[Cowbell] TagLib#
- From: "Brian Kerrick Nickel" <brian nickel gmail com>
- To: cowbell-list gnome org
- Subject: [Cowbell] TagLib#
- Date: Fri, 30 Jun 2006 03:28:04 -0700
I just wanted to announce the start of the TagLib# project. I've just released 0.0.2, an installable port of TagLib to Mono.
In addition to the full features of TagLib, I've added Read/Write support for iTunes m4a files and made it easier to access pluralized tags (eg. multiple artists)
I feel this would be a great alternative to the proposed use of Entagged# as it would allow the following:
- Access to more verbose tag items (Code could be written to read/write RVA and album covers).
- It uses a pluggable file abstractor to read/write to the file system, so it would be possible to add Gnome.VFS support.
- It's here now.
While the documentation is currently very incomplete, the basics you need to know are:
TagLib.File file = TagLib.File.Create ("path/to/file.m4a", false);
if (file == null){
// ERROR}
else{ my_title =
file.Tag.Title; my_artists = file.Tag.Artists;
//... file.Tag.Title = my_title;
if (file.Save ()) // SUCCESS
else // FAILURE
}
---
mcs myfile.cs -pkg:taglib-sharpThe source is available on the website here:
http://www.public.asu.edu/~bnickel/TagLibSharp/- Brian Nickel
[Date Prev][Date Next] [Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]