C# bindings for TagLib 1.4. Tested on Windows/MSVC2005

Antti Sykäri jsykari at cc.hut.fi
Fri May 26 02:07:59 CEST 2006


Hi,

I'm writing a music player in C# but couldn't find a good C# library
for reading id3v2 tags, so I wrote an initial version of C# bindings
for TagLib. It uses the C interface and writing tags is not yet
supported.  It should be straightforward to add but I decided to get
some sleep instead. Also Unicode doesn't quite work yet - I assume that
my wrapper thinks it's getting ISO-8859-1/ASCII from the file when it
actually gets UTF8 encoded data. But otherwise it seems to work ;)

I used Visual Studio 2005 on Windows XP (Express should work as well)
and Stefan Gehn's MSVC port of TagLib 
(http://metz.gehn.net/files/taglib-snapshot-win32.zip), which I 
augmented with a slightly modified tag_c.cpp. It is available at:

http://jsykari.lucid.fi/soft/TagLib/taglib-1.4.0-win32-with-c-bindings.zip

The C# bindings are at:

http://jsykari.lucid.fi/soft/TagLib/TagLib.cs

Perhaps someone finds it useful.

-Antti

-- 
- I still say that private enterprise is acceptable at a village level,
providing it is strictly controlled by the party.
- We must not let petty bourgeois aspirations taint socialist pedagogy.
Reform is the enemy of revolution.


More information about the taglib-devel mailing list