Main Page   Namespace List   Compound List   File List   Compound Members   File Members  

queries.h File Reference

Go to the source code of this file.

Defines

#define MBI_VARIOUS_ARTIST_ID
#define MBS_Rewind
#define MBS_Back
#define MBS_SelectArtist
#define MBS_SelectAlbum
#define MBS_SelectTrack
#define MBS_SelectTrackArtist
#define MBS_SelectTrackAlbum
#define MBS_SelectTrmid
#define MBS_SelectCdindexid
#define MBS_SelectLookupResult
#define MBS_SelectLookupResultArtist
#define MBS_SelectLookupResultAlbum
#define MBS_SelectLookupResultTrack
#define MBE_QuerySubject
#define MBE_GetError
#define MBE_GetStatus
#define MBE_GetNumArtists
#define MBE_GetNumAlbums
#define MBE_GetNumTracks
#define MBE_GetNumTrmids
#define MBE_GetNumLookupResults
#define MBE_ArtistGetArtistName
#define MBE_ArtistGetArtistSortName
#define MBE_ArtistGetArtistId
#define MBE_ArtistGetAlbumName
#define MBE_ArtistGetAlbumId
#define MBE_AlbumGetAlbumName
#define MBE_AlbumGetAlbumId
#define MBE_AlbumGetAlbumStatus
#define MBE_AlbumGetAlbumType
#define MBE_AlbumGetNumCdindexIds
#define MBE_AlbumGetAlbumArtistId
#define MBE_AlbumGetNumTracks
#define MBE_AlbumGetTrackId
#define MBE_AlbumGetTrackList
#define MBE_AlbumGetTrackNum
#define MBE_AlbumGetTrackName
#define MBE_AlbumGetTrackDuration
#define MBE_AlbumGetArtistName
#define MBE_AlbumGetArtistSortName
#define MBE_AlbumGetArtistId
#define MBE_TrackGetTrackName
#define MBE_TrackGetTrackId
#define MBE_TrackGetTrackNum
#define MBE_TrackGetTrackDuration
#define MBE_TrackGetArtistName
#define MBE_TrackGetArtistSortName
#define MBE_TrackGetArtistId
#define MBE_QuickGetArtistName
#define MBE_QuickGetAlbumName
#define MBE_QuickGetTrackName
#define MBE_QuickGetTrackNum
#define MBE_QuickGetTrackId
#define MBE_QuickGetTrackDuration
#define MBE_LookupGetType
#define MBE_LookupGetRelevance
#define MBE_LookupGetArtistId
#define MBE_LookupGetAlbumId
#define MBE_LookupGetTrackId
#define MBE_TOCGetCDIndexId
#define MBE_TOCGetFirstTrack
#define MBE_TOCGetLastTrack
#define MBE_TOCGetTrackSectorOffset
#define MBE_TOCGetTrackNumSectors
#define MBE_AuthGetSessionId
#define MBE_AuthGetChallenge
#define MBQ_GetCDInfo
#define MBQ_GetCDTOC
#define MBQ_AssociateCD
#define MBQ_Authenticate
#define MBQ_GetCDInfoFromCDIndexId
#define MBQ_TrackInfoFromTRMId
#define MBQ_QuickTrackInfoFromTrackId
#define MBQ_FindArtistByName
#define MBQ_FindAlbumByName
#define MBQ_FindTrackByName
#define MBQ_FindDistinctTRMId
#define MBQ_GetArtistById
#define MBQ_GetAlbumById
#define MBQ_GetTrackById
#define MBQ_GetTrackByTRMId
#define MBQ_SubmitTrack
#define MBQ_SubmitTrackTRMId
#define MBQ_FileInfoLookup


Define Documentation

#define MBE_AlbumGetAlbumArtistId
 

Value:

        "http://purl.org/dc/elements/1.1/creator"
Return the Artist ID of the currently selected Album. This may return the artist id for the Various Artists' artist, and then you should check the artist for each track of the album seperately with MBE_AlbumGetArtistName, MBE_AlbumGetArtistSortName and MBE_AlbumGetArtistId.

#define MBE_AlbumGetAlbumId
 

Value:

        ""  
Return the ID of the currently selected Album. The value of this query is indeed empty!

#define MBE_AlbumGetAlbumName
 

Value:

        "http://purl.org/dc/elements/1.1/title"
Return the name of the currently selected Album

#define MBE_AlbumGetAlbumStatus
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#releaseStatus"
Return the release status of the currently selected Album.

#define MBE_AlbumGetAlbumType
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#releaseType"
Return the release type of the currently selected Album.

#define MBE_AlbumGetArtistId
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList [] http://purl.org/dc/elements/1.1/creator"
Return the artist Id of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
Parameters:
ordinal   This select requires one ordinal argument to select a track

#define MBE_AlbumGetArtistName
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList [] http://purl.org/dc/elements/1.1/creator http://purl.org/dc/elements/1.1/title"
Return the artist name of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
Parameters:
ordinal   This select requires one ordinal argument to select a track

#define MBE_AlbumGetArtistSortName
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList [] http://purl.org/dc/elements/1.1/creator http://musicbrainz.org/mm/mm-2.1#sortName"
Return the artist sortname of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
Parameters:
ordinal   This select requires one ordinal argument to select a track

#define MBE_AlbumGetNumCdindexIds
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#cdindexidList [COUNT]"
Return the number of cdindexds returned in this query.

#define MBE_AlbumGetNumTracks
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList [COUNT]"
Return the mumber of tracks in the currently selected Album

#define MBE_AlbumGetTrackDuration
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList [] http://musicbrainz.org/mm/mm-2.1#duration"
Return the track duration of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
Parameters:
ordinal   This select requires one ordinal argument to select a track

#define MBE_AlbumGetTrackId
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList [] "
Return the Id of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
Parameters:
ordinal   This select requires one ordinal argument to select a track

#define MBE_AlbumGetTrackList
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList"
Return the track list of an album. This extractor should only be used to specify a list for GetOrdinalFromList().
See also:
mb_GetOrdinalFromList

#define MBE_AlbumGetTrackName
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList [] http://purl.org/dc/elements/1.1/title"
Return the track name of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
Parameters:
ordinal   This select requires one ordinal argument to select a track

#define MBE_AlbumGetTrackNum
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList [?] http://musicbrainz.org/mm/mm-2.1#trackNum"
Return the track number of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
Parameters:
ordinal   This select requires one ordinal argument to select a track

#define MBE_ArtistGetAlbumId
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#albumList []"
Return the ID of the nth album. Requires an ordinal argument to select an album from a list of albums in the current artist
Parameters:
ordinal   This select requires one ordinal argument to select an album

#define MBE_ArtistGetAlbumName
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#albumList [] http://purl.org/dc/elements/1.1/title"
Return the name of the nth album. Requires an ordinal argument to select an album from a list of albums in the current artist
Parameters:
ordinal   This select requires one ordinal argument to select an album

#define MBE_ArtistGetArtistId
 

Value:

        ""  
Return the ID of the currently selected Album. The value of this query is indeed empty!

#define MBE_ArtistGetArtistName
 

Value:

        "http://purl.org/dc/elements/1.1/title"
Return the name of the currently selected Album

#define MBE_ArtistGetArtistSortName
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#sortName"
Return the name of the currently selected Album

#define MBE_AuthGetChallenge
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#authChallenge"
return the Auth Challenge data from the Auth Query This query will be used internally by the client library.

#define MBE_AuthGetSessionId
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#sessionId"
return the Session Id from the Auth Query. This query will be used internally by the client library.

#define MBE_GetError
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#error"
Internal use only.

#define MBE_GetNumAlbums
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#albumList [COUNT]"
Return the number of albums returned in this query.

#define MBE_GetNumArtists
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#artistList [COUNT]"
Return the number of artist returned in this query.

#define MBE_GetNumLookupResults
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#lookupResultList [COUNT]"
Return the number of lookup results returned in this query.

#define MBE_GetNumTracks
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList [COUNT]"
Return the number of tracks returned in this query.

#define MBE_GetNumTrmids
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trmidList [COUNT]"
Return the number of trmids returned in this query.

#define MBE_GetStatus
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#status"
Get the general return status of this query. Values for this include OK or fuzzy. Fuzzy is returned when the server made a fuzzy match somewhere while handling the query.

#define MBE_LookupGetAlbumId
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#album"
Return the artist id of the lookup result

#define MBE_LookupGetArtistId
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#artist"
Return the artist id of the lookup result

#define MBE_LookupGetRelevance
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#relevance"
Return the relevance of the lookup result

#define MBE_LookupGetTrackId
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#track"
Return the track id of the lookup result

#define MBE_LookupGetType
 

Value:

        "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
Return the type of the lookup result

#define MBE_QuerySubject
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#Result"
Internal use only.

#define MBE_QuickGetAlbumName
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#albumName"
Return the name of the aritst

#define MBE_QuickGetArtistName
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#artistName"
Return the name of the aritst

#define MBE_QuickGetTrackDuration
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#duration"
Return the track duration

#define MBE_QuickGetTrackId
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackid"
Return the MB track id

#define MBE_QuickGetTrackName
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#trackName"
Return the name of the aritst

#define MBE_QuickGetTrackNum
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackNum"
Return the name of the aritst

#define MBE_TOCGetCDIndexId
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#cdindexid"
return the CDIndex ID from the table of contents from the CD

#define MBE_TOCGetFirstTrack
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#firstTrack"
return the first track number from the table of contents from the CD

#define MBE_TOCGetLastTrack
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#lastTrack"
return the last track number (total number of tracks on the CD) from the table of contents from the CD

#define MBE_TOCGetTrackNumSectors
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#toc [] http://musicbrainz.org/mm/mm-2.1#numSectors"
return the number of sectors for the nth track. One ordinal argument must be given to specify the track. Track 1 is a special lead-out track, and the actual track 1 on a CD can be retrieved as track 2 and so forth.

#define MBE_TOCGetTrackSectorOffset
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#toc [] http://musicbrainz.org/mm/mm-2.1#sectorOffset"
return the sector offset from the nth track. One ordinal argument must be given to specify the track. Track 1 is a special lead-out track, and the actual track 1 on a CD can be retrieved as track 2 and so forth.

#define MBE_TrackGetArtistId
 

Value:

        "http://purl.org/dc/elements/1.1/creator"
Return the Id of the artist for this track.

#define MBE_TrackGetArtistName
 

Value:

        "http://purl.org/dc/elements/1.1/creator http://purl.org/dc/elements/1.1/title"
Return the name of the artist for this track.

#define MBE_TrackGetArtistSortName
 

Value:

        "http://purl.org/dc/elements/1.1/creator http://musicbrainz.org/mm/mm-2.1#sortName"
Return the sortname of the artist for this track.

#define MBE_TrackGetTrackDuration
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#duration"
Return the track duration in the currently selected track

#define MBE_TrackGetTrackId
 

Value:

        ""  
Return the ID of the currently selected track. The value of this query is indeed empty!

#define MBE_TrackGetTrackName
 

Value:

        "http://purl.org/dc/elements/1.1/title"
Return the name of the currently selected track

#define MBE_TrackGetTrackNum
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackNum"
Return the track number in the currently selected track

#define MBI_VARIOUS_ARTIST_ID
 

Value:

        "89ad4ac3-39f7-470e-963a-56509c546377"
The MusicBrainz artist id used to indicate that an album is a various artist album.

#define MBQ_AssociateCD
 

Value:

        "@CDINFOASSOCIATECD@"
Internal use only. (For right now)

#define MBQ_Authenticate
 

Value:

    "<mq:AuthenticateQuery>\n"     "   <mq:username>@1@</mq:username>\n"     "</mq:AuthenticateQuery>\n" 
This query is use to start an authenticated session with the MB server. The username is sent to the server, and the server responds with session id and a challenge sequence that the client needs to use to create a session key. The session key and session id need to be provided with the MBQ_SubmitXXXX functions in order to give moderators/users credit for their submissions. This query will be carried out by the client libary automatically -- you should not need to use it.
Parameters:
username   -- the name of the user who would like to submit data.

#define MBQ_FileInfoLookup
 

Value:

    "<mq:FileInfoLookup>\n"     "   <mm:trmid>@1@</mm:trmid>\n"     "   <mq:artistName>@2@</mq:artistName>\n"     "   <mq:albumName>@3@</mq:albumName>\n"     "   <mq:trackName>@4@</mq:trackName>\n"     "   <mm:trackNum>@5@</mm:trackNum>\n"     "   <mm:duration>@6@</mm:duration>\n"     "   <mq:fileName>@7@</mq:fileName>\n"     "   <mm:artistid>@8@</mm:artistid>\n"     "   <mm:albumid>@9@</mm:albumid>\n"     "   <mm:trackid>@10@</mm:trackid>\n"     "   <mq:maxItems>@MAX_ITEMS@</mq:maxItems>\n"     "</mq:FileInfoLookup>\n" 
Lookup metadata for one file. This function can be used by tagging applications to attempt to match a given track with a track in the database. The server will attempt to match an artist, album and track during three phases. If at any one lookup phase the server finds ONE item only, it will move on to to the next phase. If no items are returned, an error message is returned. If more then one item is returned, the end-user will have to choose one from the returned list and then make another call to the server. To express the choice made by a user, the client should leave the artistName/albumName empty and provide the artistId and/or albumId empty on the subsequent call. Once an artistId or albumId is provided the server will pick up from the given IDs and attempt to resolve the next phase.
Parameters:
ArtistName   The name of the artist, gathered from ID3 tags or user input
AlbumName   The name of the album, also from ID3 or user input
TrackName   The name of the track
TrackNum   The track number of the track being matched
Duration   The duration of the track being matched
FileName   The name of the file that is being matched. This will only be used if the ArtistName, AlbumName or TrackName fields are blank.
ArtistId   The AritstId resolved from an earlier call.
AlbumId   The AlbumId resolved from an earlier call.
MaxItems   The maximum number of items to return if the server cannot determine an exact match.

#define MBQ_FindAlbumByName
 

Value:

    "<mq:FindAlbum>\n"     "   <mq:depth>@DEPTH@</mq:depth>\n"     "   <mq:maxItems>@MAX_ITEMS@</mq:maxItems>\n"     "   <mq:albumName>@1@</mq:albumName>\n"     "</mq:FindAlbum>\n" 
Use this query to find albums by name. This function returns an albumList for the given album name.
Parameters:
albumName   The name of the album to find.

#define MBQ_FindArtistByName
 

Value:

    "<mq:FindArtist>\n"     "   <mq:depth>@DEPTH@</mq:depth>\n"     "   <mq:artistName>@1@</mq:artistName>\n"     "   <mq:maxItems>@MAX_ITEMS@</mq:maxItems>\n"     "</mq:FindArtist>\n" 
Use this query to find artists by name. This function returns an artistList for the given artist name.
Parameters:
artistName   The name of the artist to find.

#define MBQ_FindDistinctTRMId
 

Value:

    "<mq:FindDistinctTRMID>\n"     "   <mq:depth>@DEPTH@</mq:depth>\n"     "   <mq:artistName>@1@</mq:artistName>\n"     "   <mq:trackName>@2@</mq:trackName>\n"     "</mq:FindDistinctTRMID>\n" 
Use this function to find TRM IDs that match a given artistName and trackName, This query returns a trmidList.
Parameters:
artistName   The name of the artist to find.
trackName   The name of the track to find.

#define MBQ_FindTrackByName
 

Value:

    "<mq:FindTrack>\n"     "   <mq:depth>@DEPTH@</mq:depth>\n"     "   <mq:maxItems>@MAX_ITEMS@</mq:maxItems>\n"     "   <mq:trackName>@1@</mq:trackName>\n"     "</mq:FindTrack>\n" 
Use this query to find tracks by name. This function returns a trackList for the given track name.
Parameters:
trackName   The name of the track to find.

#define MBQ_GetAlbumById
 

Value:

    "http://@URL@/mm-2.1/album/@1@/@DEPTH@" 
Retrieve an albumList from a given Album id

#define MBQ_GetArtistById
 

Value:

    "http://@URL@/mm-2.1/artist/@1@/@DEPTH@" 
Retrieve an artistList from a given Artist id

#define MBQ_GetCDInfo
 

Value:

        "@CDINFO@"
Use this query to look up a CD from MusicBrainz. This query will examine the CD-ROM in the CD-ROM drive specified by mb_SetDevice and then send the CD-ROM data to the server. The server will then find any matching CDs and return then as an albumList.

#define MBQ_GetCDInfoFromCDIndexId
 

Value:

    "<mq:GetCDInfo>\n"     "   <mq:depth>@DEPTH@</mq:depth>\n"     "   <mm:cdindexid>@1@</mm:cdindexid>\n"     "</mq:GetCDInfo>\n" 
Use this query to return an albumList for the given Disc ID
Parameters:
cdindexid   The cdindex id to look up at the remote server.

#define MBQ_GetCDTOC
 

Value:

        "@LOCALCDINFO@"
Use this query to examine the table of contents of a CD. This query will examine the CD-ROM in the CD-ROM drive specified by mb_SetDevice, and then let the use extract data from the table of contents using the MBQ_TOCXXXXX functions. No live net connection is required for this query.

#define MBQ_GetTrackById
 

Value:

    "http://@URL@/mm-2.1/track/@1@/@DEPTH@" 
Retrieve an trackList from a given Track id

#define MBQ_GetTrackByTRMId
 

Value:

    "http://@URL@/mm-2.1/trmid/@1@/@DEPTH@" 
Retrieve an trackList from a given TRM ID

#define MBQ_QuickTrackInfoFromTrackId
 

Value:

    "<mq:QuickTrackInfoFromTrackId>\n"     "   <mm:trackid>@1@</mm:trackid>\n"     "   <mm:albumid>@2@</mm:albumid>\n"     "</mq:QuickTrackInfoFromTrackId>\n" 
Use this query to return the basic metadata information (artistname, albumname, trackname, tracknumber) for a given track mb id
Parameters:
trackid   The MB track id for the track to be looked up

#define MBQ_SubmitTrack
 

Value:

    "<mq:SubmitTrack>\n"     "   <mq:artistName>@1@</mq:artistName>\n"     "   <mq:albumName>@2@</mq:albumName>\n"     "   <mq:trackName>@3@</mq:trackName>\n"     "   <mm:trmid>@4@</mm:trmid>\n"     "   <mm:trackNum>@5@</mm:trackNum>\n"     "   <mm:duration>@6@</mm:duration>\n"     "   <mm:issued>@7@</mm:issued>\n"     "   <mm:genre>@8@</mm:genre>\n"     "   <dc:description>@9@</dc:description>\n"     "   <mm:link>@10@</mm:link>\n"     "   <mq:sessionId>@SESSID@</mq:sessionId>\n"     "   <mq:sessionKey>@SESSKEY@</mq:sessionKey>\n"     "</mq:SubmitTrack>\n" 
Internal use only.

#define MBQ_SubmitTrackTRMId
 

Value:

    "<mq:SubmitTRMList>\n"     " <mm:trmidList>\n"     "  <rdf:Bag>\n"     "   <rdf:li>\n"     "    <mq:trmTrackPair>\n"     "     <mm:trackid>@1@</mm:trackid>\n"     "     <mm:trmid>@2@</mm:trmid>\n"     "    </mq:trmTrackPair>\n"     "   </rdf:li>\n"     "  </rdf:Bag>\n"     " </mm:trmidList>\n"     " <mq:sessionId>@SESSID@</mq:sessionId>\n"     " <mq:sessionKey>@SESSKEY@</mq:sessionKey>\n"     " <mq:clientVersion>@CLIENTVER@</mq:clientVersion>\n"     "</mq:SubmitTRMList>\n" 
Submit a single TrackId, TRM ID pair to MusicBrainz. This query can handle only one pair at a time, which is inefficient. The user may wish to create the query RDF text by hand and provide more than one pair in the rdf:Bag, since the server can handle up to 1000 pairs in one query.
Parameters:
TrackGID   The Global ID field of the track
trmid   The TRM ID of the track.

#define MBQ_TrackInfoFromTRMId
 

Value:

    "<mq:TrackInfoFromTRMId>\n"     "   <mm:trmid>@1@</mm:trmid>\n"     "   <mq:artistName>@2@</mq:artistName>\n"     "   <mq:albumName>@3@</mq:albumName>\n"     "   <mq:trackName>@4@</mq:trackName>\n"     "   <mm:trackNum>@5@</mm:trackNum>\n"     "   <mm:duration>@6@</mm:duration>\n"     "</mq:TrackInfoFromTRMId>\n" 
Use this query to return the metadata information (artistname, albumname, trackname, tracknumber) for a given TRM ID. Optionally, you can also specifiy the basic artist metadata, so that if the server cannot match on the TRM ID, it will attempt to match based on the basic metadata. In case of a TRM collision (where one TRM may point to more than one track) this function will return more than on track. The user (or tagging app) must decide which track information is correct.
Parameters:
trmid   The TRM ID for the track to be looked up
artistName   The name of the artist
albumName   The name of the album
trackName   The name of the track
trackNum   The number of the track

#define MBS_Back
 

Value:

        "[BACK]"
Use this query to change the current context back one level.

#define MBS_Rewind
 

Value:

        "[REWIND]"
Use this query to reset the current context back to the top level of the response.

#define MBS_SelectAlbum
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#albumList []"
Use this Select Query to select an album from an query that returns a list of albums. Giving the argument 1 for the ordinal selects the first album in the list, 2 the second and so on. Use MBE_AlbumXXXXXX queries to extract data after the select.
Parameters:
ordinal   This select requires one ordinal argument

#define MBS_SelectArtist
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#artistList []"
Use this Select Query to select an artist from an query that returns a list of artists. Giving the argument 1 for the ordinal selects the first artist in the list, 2 the second and so on. Use MBE_ArtistXXXXXX queries to extract data after the select.
Parameters:
ordinal   This select requires one ordinal argument

#define MBS_SelectCdindexid
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#cdindexidList []"
Use this Select Query to select a Disc ID from the list.
Parameters:
ordinal   This select requires one ordinal argument

#define MBS_SelectLookupResult
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#lookupResultList []"
Use this Select Query to select a result from a lookupResultList. This select will be used in conjunction with MBQ_FileLookup.
Parameters:
ordinal   This select requires one ordinal argument

#define MBS_SelectLookupResultAlbum
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#album"
Use this Select Query to select the album from a lookup result. This select will be used in conjunction with MBQ_FileLookup.

#define MBS_SelectLookupResultArtist
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#artist"
Use this Select Query to select the artist from a lookup result. This select will be used in conjunction with MBQ_FileLookup.

#define MBS_SelectLookupResultTrack
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#track"
Use this Select Query to select the track from a lookup result. This select will be used in conjunction with MBQ_FileLookup.

#define MBS_SelectTrack
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trackList []"
Use this Select Query to select a track from an query that returns a list of tracks. Giving the argument 1 for the ordinal selects the first track in the list, 2 the second and so on. Use MBE_TrackXXXXXX queries to extract data after the select.
Parameters:
ordinal   This select requires one ordinal argument

#define MBS_SelectTrackAlbum
 

Value:

        "http://musicbrainz.org/mm/mq-1.1#album"
Use this Select Query to select an the corresponding artist from a track context. MBE_ArtistXXXXXX queries to extract data after the select.
Parameters:
ordinal  

#define MBS_SelectTrackArtist
 

Value:

        "http://purl.org/dc/elements/1.1/creator"
Use this Select Query to select an the corresponding artist from a track context. MBE_ArtistXXXXXX queries to extract data after the select.
Parameters:
ordinal  

#define MBS_SelectTrmid
 

Value:

        "http://musicbrainz.org/mm/mm-2.1#trmidList []"
Use this Select Query to select a trmid from the list.
Parameters:
ordinal   This select requires one ordinal argument


Generated at Sat Jan 25 18:27:12 2003 for MusicBrainz Client Library by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001