Re: libmusicbrainz 5.1.0

Calvin Walton <[email protected]> Tue, 24 Mar 2015 12:07:07 -0400
Newsgroups gmane.comp.audio.musicbrainz.devel
Message-ID <CAF1iTgsket3ZooFGSUeG+0Pnr77c8M+rj0-j7AGq2LR9Yf5N_g@mail.gmail.com>
Hi,

The libmusicbrainz library is more or less a direct mapping of the
structure of the MusicBrainz webservice to C++ classes. Before you
start to use it, I'd strongly suggest that you go through the
documentation at
https://wiki.musicbrainz.org/Development/XML_Web_Service/Version_2 and
make some manual webservice queries so that you can understand which
data is included in the results, and where it is stored.

Calvin.

On Tue, Mar 24, 2015 at 11:55 AM, David Baltimore
<[email protected]> wrote:
> I am new to Music Brainz.  Downloaded the 3 libraries.
>
> Am trying to get the CD Title, The Artist Name and the track titles
> of the cd from the C++ class library.
>
> I ran the libdiscid classes fine to obtain the discid.
>
> tried the short demo program passing the discid to the CQuery example.
>
> It dumps the info to cout fine but I can't figure out how to obtain
> the Artist Name and the
> track titles of the songs.
>
> The Title of the CD was easy with FullRelease->Title()
>
> but I can't get the above out of the data!
>
> Also when stepping through the code in debug the for loop drops out
> after one iteration when the NumItems() count is 2. Not sure what to
> make of that either.
>
> Any help would be appraciated.  I'm finding the Doxygen help to be
> not enough and the example doesn't go far enough to show the
> relationships of the classes to one another.
>
> David
>
>
> _______________________________________________
> MusicBrainz-devel mailing list
> [email protected]
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel