Go to the source code of this file.
Defines | |
| #define | MBI_VARIOUS_ARTIST_ID "89ad4ac3-39f7-470e-963a-56509c546377" |
| #define | MBS_Rewind "[REWIND]" |
| #define | MBS_Back "[BACK]" |
| #define | MBS_SelectArtist "http://musicbrainz.org/mm/mm-2.1#artistList []" |
| #define | MBS_SelectAlbum "http://musicbrainz.org/mm/mm-2.1#albumList []" |
| #define | MBS_SelectTrack "http://musicbrainz.org/mm/mm-2.1#trackList []" |
| #define | MBS_SelectTrackArtist "http://purl.org/dc/elements/1.1/creator" |
| #define | MBS_SelectTrackAlbum "http://musicbrainz.org/mm/mq-1.1#album" |
| #define | MBS_SelectTrmid "http://musicbrainz.org/mm/mm-2.1#trmidList []" |
| #define | MBS_SelectCdindexid "http://musicbrainz.org/mm/mm-2.1#cdindexidList []" |
| #define | MBS_SelectReleaseDate "http://musicbrainz.org/mm/mm-2.1#releaseDateList []" |
| #define | MBS_SelectLookupResult "http://musicbrainz.org/mm/mq-1.1#lookupResultList []" |
| #define | MBS_SelectLookupResultArtist "http://musicbrainz.org/mm/mq-1.1#artist" |
| #define | MBS_SelectLookupResultAlbum "http://musicbrainz.org/mm/mq-1.1#album" |
| #define | MBS_SelectLookupResultTrack "http://musicbrainz.org/mm/mq-1.1#track" |
| #define | MBS_SelectRelationship "http://musicbrainz.org/ar/ar-1.0#relationshipList []" |
| #define | MBE_QuerySubject "http://musicbrainz.org/mm/mq-1.1#Result" |
| #define | MBE_GetError "http://musicbrainz.org/mm/mq-1.1#error" |
| #define | MBE_GetStatus "http://musicbrainz.org/mm/mq-1.1#status" |
| #define | MBE_GetNumArtists "http://musicbrainz.org/mm/mm-2.1#artistList [COUNT]" |
| #define | MBE_GetNumAlbums "http://musicbrainz.org/mm/mm-2.1#albumList [COUNT]" |
| #define | MBE_GetNumTracks "http://musicbrainz.org/mm/mm-2.1#trackList [COUNT]" |
| #define | MBE_GetNumTrmids "http://musicbrainz.org/mm/mm-2.1#trmidList [COUNT]" |
| #define | MBE_GetNumLookupResults "http://musicbrainz.org/mm/mq-1.1#lookupResultList [COUNT]" |
| #define | MBE_ArtistGetArtistName "http://purl.org/dc/elements/1.1/title" |
| #define | MBE_ArtistGetArtistSortName "http://musicbrainz.org/mm/mm-2.1#sortName" |
| #define | MBE_ArtistGetArtistId "" |
| #define | MBE_ArtistGetAlbumName "http://musicbrainz.org/mm/mm-2.1#albumList [] http://purl.org/dc/elements/1.1/title" |
| #define | MBE_ArtistGetAlbumId "http://musicbrainz.org/mm/mm-2.1#albumList []" |
| #define | MBE_AlbumGetAlbumName "http://purl.org/dc/elements/1.1/title" |
| #define | MBE_AlbumGetAlbumId "" |
| #define | MBE_AlbumGetAlbumStatus "http://musicbrainz.org/mm/mm-2.1#releaseStatus" |
| #define | MBE_AlbumGetAlbumType "http://musicbrainz.org/mm/mm-2.1#releaseType" |
| #define | MBE_AlbumGetAmazonAsin "http://www.amazon.com/gp/aws/landing.html#Asin" |
| #define | MBE_AlbumGetNumCdindexIds "http://musicbrainz.org/mm/mm-2.1#cdindexidList [COUNT]" |
| #define | MBE_AlbumGetNumReleaseDates "http://musicbrainz.org/mm/mm-2.1#releaseDateList [COUNT]" |
| #define | MBE_AlbumGetAlbumArtistId "http://purl.org/dc/elements/1.1/creator" |
| #define | MBE_AlbumGetNumTracks "http://musicbrainz.org/mm/mm-2.1#trackList [COUNT]" |
| #define | MBE_AlbumGetTrackId "http://musicbrainz.org/mm/mm-2.1#trackList [] " |
| #define | MBE_AlbumGetTrackList "http://musicbrainz.org/mm/mm-2.1#trackList" |
| #define | MBE_AlbumGetTrackNum "http://musicbrainz.org/mm/mm-2.1#trackList [?] http://musicbrainz.org/mm/mm-2.1#trackNum" |
| #define | MBE_AlbumGetTrackName "http://musicbrainz.org/mm/mm-2.1#trackList [] http://purl.org/dc/elements/1.1/title" |
| #define | MBE_AlbumGetTrackDuration "http://musicbrainz.org/mm/mm-2.1#trackList [] http://musicbrainz.org/mm/mm-2.1#duration" |
| #define | MBE_AlbumGetArtistName "http://musicbrainz.org/mm/mm-2.1#trackList [] http://purl.org/dc/elements/1.1/creator http://purl.org/dc/elements/1.1/title" |
| #define | MBE_AlbumGetArtistSortName "http://musicbrainz.org/mm/mm-2.1#trackList [] http://purl.org/dc/elements/1.1/creator http://musicbrainz.org/mm/mm-2.1#sortName" |
| #define | MBE_AlbumGetArtistId "http://musicbrainz.org/mm/mm-2.1#trackList [] http://purl.org/dc/elements/1.1/creator" |
| #define | MBE_TrackGetTrackName "http://purl.org/dc/elements/1.1/title" |
| #define | MBE_TrackGetTrackId "" |
| #define | MBE_TrackGetTrackNum "http://musicbrainz.org/mm/mm-2.1#trackNum" |
| #define | MBE_TrackGetTrackDuration "http://musicbrainz.org/mm/mm-2.1#duration" |
| #define | MBE_TrackGetArtistName "http://purl.org/dc/elements/1.1/creator http://purl.org/dc/elements/1.1/title" |
| #define | MBE_TrackGetArtistSortName "http://purl.org/dc/elements/1.1/creator http://musicbrainz.org/mm/mm-2.1#sortName" |
| #define | MBE_TrackGetArtistId "http://purl.org/dc/elements/1.1/creator" |
| #define | MBE_QuickGetArtistName "http://musicbrainz.org/mm/mq-1.1#artistName" |
| #define | MBE_QuickGetArtistSortName "http://musicbrainz.org/mm/mm-2.1#sortName" |
| #define | MBE_QuickGetArtistId "http://musicbrainz.org/mm/mm-2.1#artistid" |
| #define | MBE_QuickGetAlbumName "http://musicbrainz.org/mm/mq-1.1#albumName" |
| #define | MBE_QuickGetTrackName "http://musicbrainz.org/mm/mq-1.1#trackName" |
| #define | MBE_QuickGetTrackNum "http://musicbrainz.org/mm/mm-2.1#trackNum" |
| #define | MBE_QuickGetTrackId "http://musicbrainz.org/mm/mm-2.1#trackid" |
| #define | MBE_QuickGetTrackDuration "http://musicbrainz.org/mm/mm-2.1#duration" |
| #define | MBE_ReleaseGetDate "http://purl.org/dc/elements/1.1/date" |
| #define | MBE_ReleaseGetCountry "http://musicbrainz.org/mm/mm-2.1#country" |
| #define | MBE_LookupGetType "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" |
| #define | MBE_LookupGetRelevance "http://musicbrainz.org/mm/mq-1.1#relevance" |
| #define | MBE_LookupGetArtistId "http://musicbrainz.org/mm/mq-1.1#artist" |
| #define | MBE_LookupGetAlbumId "http://musicbrainz.org/mm/mq-1.1#album" |
| #define | MBE_LookupGetAlbumArtistId |
| #define | MBE_LookupGetTrackId "http://musicbrainz.org/mm/mq-1.1#track" |
| #define | MBE_LookupGetTrackArtistId |
| #define | MBE_GetRelationshipType "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" |
| #define | MBE_GetRelationshipDirection "http://musicbrainz.org/ar/ar-1.0#direction" |
| #define | MBE_GetRelationshipArtistId "http://musicbrainz.org/ar/ar-1.0#toArtist" |
| #define | MBE_GetRelationshipArtistName "http://musicbrainz.org/ar/ar-1.0#toArtist http://purl.org/dc/elements/1.1/title" |
| #define | MBE_GetRelationshipAlbumId "http://musicbrainz.org/ar/ar-1.0#toAlbum" |
| #define | MBE_GetRelationshipAlbumName "http://musicbrainz.org/ar/ar-1.0#toAlbum http://purl.org/dc/elements/1.1/title" |
| #define | MBE_GetRelationshipTrackId "http://musicbrainz.org/ar/ar-1.0#toTrack" |
| #define | MBE_GetRelationshipTrackName "http://musicbrainz.org/ar/ar-1.0#toTrack http://purl.org/dc/elements/1.1/title" |
| #define | MBE_GetRelationshipURL "http://musicbrainz.org/ar/ar-1.0#toUrl" |
| #define | MBE_GetRelationshipAttribute "http://musicbrainz.org/ar/ar-1.0#attributeList []" |
| #define | MBE_TOCGetCDIndexId "http://musicbrainz.org/mm/mm-2.1#cdindexid" |
| #define | MBE_TOCGetFirstTrack "http://musicbrainz.org/mm/mm-2.1#firstTrack" |
| #define | MBE_TOCGetLastTrack "http://musicbrainz.org/mm/mm-2.1#lastTrack" |
| #define | MBE_TOCGetTrackSectorOffset "http://musicbrainz.org/mm/mm-2.1#toc [] http://musicbrainz.org/mm/mm-2.1#sectorOffset" |
| #define | MBE_TOCGetTrackNumSectors "http://musicbrainz.org/mm/mm-2.1#toc [] http://musicbrainz.org/mm/mm-2.1#numSectors" |
| #define | MBE_AuthGetSessionId "http://musicbrainz.org/mm/mq-1.1#sessionId" |
| #define | MBE_AuthGetChallenge "http://musicbrainz.org/mm/mq-1.1#authChallenge" |
| #define | MBQ_GetCDInfo "@CDINFO@" |
| #define | MBQ_GetCDTOC "@LOCALCDINFO@" |
| #define | MBQ_AssociateCD "@CDINFOASSOCIATECD@" |
| #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 "http://@URL@/mm-2.1/artist/@1@/@DEPTH@" |
| #define | MBQ_GetAlbumById "http://@URL@/mm-2.1/album/@1@/@DEPTH@" |
| #define | MBQ_GetTrackById "http://@URL@/mm-2.1/track/@1@/@DEPTH@" |
| #define | MBQ_GetTrackByTRMId "http://@URL@/mm-2.1/trmid/@1@/@DEPTH@" |
| #define | MBQ_GetArtistRelationsById "http://@URL@/mm-2.1/artistrel/@1@" |
| #define | MBQ_GetAlbumRelationsById "http://@URL@/mm-2.1/albumrel/@1@" |
| #define | MBQ_GetTrackRelationsById "http://@URL@/mm-2.1/trackrel/@1@" |
| #define | MBQ_SubmitTrack |
| #define | MBQ_SubmitTrackTRMId |
| #define | MBQ_FileInfoLookup |
|
|
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. |
|
|
Return the ID of the currently selected Album. The value of this query is indeed empty! |
|
|
Return the name of the currently selected Album |
|
|
Return the release status of the currently selected Album. |
|
|
Return the release type of the currently selected Album. |
|
|
Return the amazon asin for the selected Album. |
|
|
Return the artist Id of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
|
|
|
Return the artist name of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
|
|
|
Return the artist sortname of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
|
|
|
Return the number of cdindexds returned in this query. |
|
|
Return the number of release dates returned in this query. |
|
|
Return the mumber of tracks in the currently selected Album |
|
|
Return the track duration of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
|
|
|
Return the Id of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
|
|
|
Return the track list of an album. This extractor should only be used to specify a list for GetOrdinalFromList().
|
|
|
Return the track name of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
|
|
|
Return the track number of the nth track in the album. Requires a track index ordinal. 1 for the first track, etc...
|
|
|
Return the ID of the nth album. Requires an ordinal argument to select an album from a list of albums in the current artist
|
|
|
Return the name of the nth album. Requires an ordinal argument to select an album from a list of albums in the current artist
|
|
|
Return the ID of the currently selected Album. The value of this query is indeed empty! |
|
|
Return the name of the currently selected Album |
|
|
Return the name of the currently selected Album |
|
|
return the Auth Challenge data from the Auth Query This query will be used internally by the client library. |
|
|
return the Session Id from the Auth Query. This query will be used internally by the client library. |
|
|
Internal use only. |
|
|
Return the number of albums returned in this query. |
|
|
Return the number of artist returned in this query. |
|
|
Return the number of lookup results returned in this query. |
|
|
Return the number of tracks returned in this query. |
|
|
Return the number of trmids returned in this query. |
|
|
Get the album id that this link points to. |
|
|
Get the album name that this link points to. |
|
|
Get the artist id that this link points to. |
|
|
Get the artist name that this link points to. |
|
|
Get the vocal/instrument attributes. Must pass an ordinal to indicate which attribute to get. |
|
|
Get the direction of a link between two like entities. This data element will only be present for links between like types (eg artist-artist links) and IFF the link direction is reverse of what the RDF implies. |
|
|
Get the track id that this link points to. |
|
|
Get the track name that this link points to. |
|
|
Get the type of an advanced relationships link. Please note that these relationship types can change over time! |
|
|
Get the URL that this link points to. |
|
|
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. |
|
|
Value: "http://musicbrainz.org/mm/mq-1.1#album " \ "http://purl.org/dc/elements/1.1/creator" |
|
|
Return the artist id of the lookup result |
|
|
Return the artist id of the lookup result |
|
|
Return the relevance of the lookup result |
|
|
Value: "http://musicbrainz.org/mm/mq-1.1#track " \ "http://purl.org/dc/elements/1.1/creator" |
|
|
Return the track id of the lookup result |
|
|
Return the type of the lookup result |
|
|
Internal use only. |
|
|
Return the name of the aritst |
|
|
Return the id of the artist |
|
|
Return the name of the aritst |
|
|
Return the sortname of the aritst |
|
|
Return the track duration |
|
|
Return the MB track id |
|
|
Return the name of the aritst |
|
|
Return the name of the aritst |
|
|
Return the release country |
|
|
Return the release date |
|
|
return the CDIndex ID from the table of contents from the CD |
|
|
return the first track number from the table of contents from the CD |
|
|
return the last track number (total number of tracks on the CD) from the table of contents from the CD |
|
|
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. |
|
|
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. |
|
|
Return the Id of the artist for this track. |
|
|
Return the name of the artist for this track. |
|
|
Return the sortname of the artist for this track. |
|
|
Return the track duration in the currently selected track |
|
|
Return the ID of the currently selected track. The value of this query is indeed empty! |
|
|
Return the name of the currently selected track |
|
|
Return the track number in the currently selected track |
|
|
The MusicBrainz artist id used to indicate that an album is a various artist album. |
|
|
Internal use only. (For right now) |
|
|
Value: "<mq:AuthenticateQuery>\n" \ " <mq:username>@1@</mq:username>\n" \ "</mq:AuthenticateQuery>\n"
|
|
|
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"
|
|
|
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"
|
|
|
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"
|
|
|
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"
|
|
|
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"
|
|
|
Retrieve an albumList from a given Album id |
|
|
Retrieve an albumList with advanced relationships from a given album id |
|
|
Retrieve an artistList from a given Artist id |
|
|
Retrieve an artistList with advanced relationships from a given artist id |
|
|
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. |
|
|
Value: "<mq:GetCDInfo>\n" \ " <mq:depth>@DEPTH@</mq:depth>\n" \ " <mm:cdindexid>@1@</mm:cdindexid>\n" \ "</mq:GetCDInfo>\n"
|
|
|
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. |
|
|
Retrieve an trackList from a given Track id |
|
|
Retrieve an trackList from a given TRM Id |
|
|
Retrieve a trackList with advanced relationships from a given track id |
|
|
Value: "<mq:QuickTrackInfoFromTrackId>\n" \ " <mm:trackid>@1@</mm:trackid>\n" \ " <mm:albumid>@2@</mm:albumid>\n" \ "</mq:QuickTrackInfoFromTrackId>\n"
|
|
|
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" |
|
|
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"
|
|
|
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 change the current context back one level. |
|
|
Use this query to reset the current context back to the top level of the response. |
|
|
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.
|
|
|
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.
|
|
|
Use this Select Query to select a CD Index id from the list.
|
|
|
Use this Select Query to select a result from a lookupResultList. This select will be used in conjunction with MBQ_FileLookup.
|
|
|
Use this Select Query to select the album from a lookup result. This select will be used in conjunction with MBQ_FileLookup. |
|
|
Use this Select Query to select the artist from a lookup result. This select will be used in conjunction with MBQ_FileLookup. |
|
|
Use this Select Query to select the track from a lookup result. This select will be used in conjunction with MBQ_FileLookup. |
|
|
Use this Select Query to select a relationship from a list of advanced relationships.
|
|
|
Use this Select Query to select a Release date/country from the list.
|
|
|
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.
|