[mb-devel] XMLWebService: mapping from album to label

dazza dazzaredgrave at gmail.com
Wed Oct 17 03:05:07 UTC 2007


I've put labels in the inc values and I still don't get anything more then
the barcode and catalog number:

curl --get
http://musicbrainz.org/ws/1/release/a0af5955-d5bf-4b39-9c53-10b163b24243
    -d type=xml
    -d inc="release-events label-rels labels"

results in

<?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#">
<release id="a0af5955-d5bf-4b39-9c53-10b163b24243"
            type="Album Official">
    <title>
         United Abominations
    </title>
    <text-representation language="ENG" script="Latn"/>
    <asin>B000O76PEE</asin>
    <release-event-list>
          <event date="2007-05-09"
                     country="JP"
                     catalog-number="RRCY-21285"
                     barcode="4527583006725" format="CD"/>
      </release-event-list>
   </release>
</metadata>



On 10/17/07, Bob Faist <bob.faist at gmail.com> wrote:
>
>
> http://musicbrainz.org/ws/1/release/a0af5955-d5bf-4b39-9c53-10b163b24243?type=xml&inc=labels+release-events
>
> The "inc" parameter can include the value "labels".
>
> On 10/16/07, dazza <dazzaredgrave at gmail.com> wrote:
> > hi,
> >
> > I've been trying to find the label for an album release using the
> > XMLWebService. If I run this query:
> >
> > curl --get
> > http://musicbrainz.org/ws/1/release/a0af5955-d5bf-4b39-9c53-10b163b24243
> >
> >       -d type=xml
> >       -d inc="release-events label-rels discs"
> >
> > I see the releases with catalog-number and barcode as expected but I
> can't
> > seem to find a way to map this information to who the Label is. Any
> ideas?
> >
> > I tried adding labels to the inc parameter but I don't get any more
> > information.
> >
> > TIA
> >
> > dazza
> >
> >
> > _______________________________________________
> > MusicBrainz-devel mailing list
> > MusicBrainz-devel at lists.musicbrainz.org
> > http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
> >
>
> _______________________________________________
> MusicBrainz-devel mailing list
> MusicBrainz-devel at lists.musicbrainz.org
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.musicbrainz.org/pipermail/musicbrainz-devel/attachments/20071017/3a26064e/attachment.htm


More information about the MusicBrainz-devel mailing list