[mb-devel] XML query problem

Matthias Friedrich matt at mafr.de
Fri Sep 1 11:31:27 UTC 2006


On Tuesday, 2006-08-29, flabbergasted at gmx.de wrote:
[...]
> I have an application where I want to query Musicbrainz to find the
> corresponding album to a given track.

> This works quite nicely in general via the XML interface:

> http://musicbrainz.org/ws/1/track/?type=xml&artist='artist'&title='title'

> The problem is, though, that the release tag in this result doesn't have
> a "type"-attribute so it's not possible to see if the first result is
> just a bootleg or a compilation (which sadly enough happens quite
> often). Is there a reason why this is not provided here?

I think it was simply forgotten to add the attribute. The XML output
already contains the title, so the type can be added without affecting
the query's performance (both title and type are in the same table).

Would you please add a bug report for this (Component "XML Webservice")? 

Regards,
	Matthias



More information about the MusicBrainz-devel mailing list