[mb-devel] A MusicBrainz Client Library for .NET
Scott Peterson
lunchtimemama at gmail.com
Thu Oct 4 21:02:08 UTC 2007
Hello all. I'm Scott and I work on the Banshee music player [1] which uses
MB to retrieve CD metadata. Banshee is written in C# and currently calls
into libmusicbrainz for all of the magic, but that is old and no fun so I
decided to write a new MB library in C#. While I'm using it for Banshee, it
is a all-purpose library that exposes the entire XmlWebService API in a
simple, object-oriented interface for .NET (and/or Mono). It's called
MusicBrainzSharp and it's just about done, but there are a few things that I
need some help on. Any info would be greatly appreciated.
* What are track-level-rels? They are listed [2] as a possible value in the
inc parameter for releases. I could not find any other documentation.
* When performing a query (such as
http://musicbrainz.org/ws/1/artist/?type=xml&name=Super+Furry+Animals),
certain characters are replaced with '+'. Exactly what characters are
replaced with a '+' and what (if any) are percent encoded? And are there any
other encoding rules for making a string into a query URL?
* Exactly how are submissions made with the XMLWebService**? What is the
format of XML for submitting disc IDs and TOCs, and PUIDs? Can any other
data be submitted via XML? Can data be changed or deleted via XML?
I think that's everything I need to ask but I'm probably forgetting
something. Anyway, I encourage you to check out the code for
MusicBrainzSharp [3]. Right now it lives in the Banshee SVN but I would like
to give it a home of its own. Any ideas? Also, I've just begun to write some
documentation [4]. It's all very high-level right now. Lastly, I only have
support for reading disc TOCs on Windows (I'm working on porting Banshee to
Windows) so if anyone has expertise in Unix CD ROM IO and C#, I would
greatly appreciate code for other systems (see DiscWin32.cs for the Windows
implementation). That's all folks!
[1] http://banshee-project.org/Main_Page
[2] http://wiki.musicbrainz.org/XMLWebService
[3] http://svn.gnome.org/viewcvs/banshee/branches/banshee/windows-port/banshee/src/Extras/MusicBrainzSharp
[4] http://docs.google.com/Doc?id=ah4grsjk7k4c_117hnh9t4
- Scott Peterson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.musicbrainz.org/pipermail/musicbrainz-devel/attachments/20071004/70795cd8/attachment.htm
More information about the MusicBrainz-devel
mailing list