Ticket #1286 (assigned enhancement)

Opened 3 years ago

Last modified 5 months ago

XMLWS: Add releasetype to returned data from track query

Reported by: deimos.fawkes@gmail.com Assigned to: rob (accepted)
Priority: normal Milestone:
Component: MusicBrainz Server Search Version:
Keywords: Cc:
Browser: OS:

Description

I would like to be able to see the releasetype information when querying the system using the track method.

Currently, I have to requery the system for each and every returned release in order to get that data. As you can imagine, this is an excessive waste of cycletime.

Attachments

Change History

2006-04-05 15:50:57 changed by matt

  • version set to Server 2006-03-10.
  • milestone set to XMLWebService.

2006-04-05 18:31:25 changed by rob

  • owner set to matt.

What do you think, matt?

2006-04-05 19:43:19 changed by matt

No problem with that, as long as it's added at the release level, as track/release-list/release@type. Example:

<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://musicbrainz.org/ns/mmd-1.0#" xmlns:ext="http://musicbrainz.org/ns/ext-1.0#">
    <track-list>
        <track id="748f2b79-8c50-4581-adb1-7708118a48fc" ext:score="100">
            <title>Little Earthquakes</title>
            <duration>457760</duration>
            <artist id="c0b2500e-0cef-4130-869d-732b23ed9df5">
                <name>Tori Amos</name>
            </artist>
            <release-list>
                <release id="93264fe5-dff2-47ab-9ca8-1c865733aad9" type="Album Official">
                    <title>To Venus and Back (disc 2: Live, Still Orbiting)</title>
                    <track-list offset="9"/>
                </release>
            </release-list>
        </track>
    </track-list>
</metadata>

2006-04-05 23:03:06 changed by rob

  • owner changed from matt to rob.
  • status changed from new to assigned.
  • version deleted.
  • milestone deleted.

deimos: Are you doing a track query or a track collection query? Can you please post a follow-up comment with an example URL? If its a collection query, then this cannot be done until I fix up some the searching bugs that have cropped up.

2006-04-05 23:10:19 changed by 3of9

  • milestone set to XMLWebService.

Track collection query, I guess. Here is an example of what I'm using to query: http://test.musicbrainz.org/ws/1/track/?type=xml&title=Noon&artist=Infected+Mushroom&limit=5

I plan on looping through the results and picking out the Release Types that I want.

2006-04-05 23:15:21 changed by rob

  • milestone deleted.

Yes, that will have to wait until I fix some lucene bits. And please keep this out of the XMLWebservice milestone -- this is not a bug of that milestone, but a seperate enhancement.

2006-06-29 23:26:58 changed by rob

  • milestone set to Server: Lucene searching v2.0.

2006-07-27 09:14:18 changed by luks

  • component changed from MusicBrainz Server to XML Webservice.

2006-08-08 22:00:27 changed by rob

  • component changed from XML Webservice to MusicBrainz Server Search.

Moving this to search since this is not strictly a web service issue.

2008-06-27 06:26:37 changed by rob

  • milestone deleted.

Add/Change #1286 (XMLWS: Add releasetype to returned data from track query)