TYBA






media.Track

Track

This structure represents useful information about a track.

ParameterOptionalMax AllowedDataTypeNotes
tridno1database idtrack id
trnmno1texttrack name
arnmno1textmArtist name
aridno1database idmArtist id
alnmno1textmAlbum name
alidno1database idmAlbum id
durano1integertrack length in seconds
cvno1urlurl to access coverart. See Artwork URL api.
gridno1database idGenre id
grnmno1textGenre name
cpidno1database idComposer id
cpnmno1textComposer name
mBpmno1integerbeats per minute
brtno1textBitrate including unit of measure
frqno1textFrequency including unit of measure
yrno1integertrack Year
taridno1database idtrack Artist id
tarnmno1texttrack Artist
cveno1booleandoes track have artwork?
alaridno1database idAlbum Artist id
alarnmno1textAlbum Artist
typeno1integerTrack Type
availableno1booleanIs the track available for streaming? (streaming track only)

Example xml:

 <tr>
 <trid>432546325432</trid>
 <trnm>Dog Days are over</trnm>
 <arnm>Florence and the Machine</arnm>
 <arid>432546325432</arid>
 <alnm>The Best of Florence and the Machine</alnm>
 <alid>432546325432</alid>
 <dura>350909</dura>
 <cv>http://www.apple.com/art.jpg</cv>
 <grid>343443344344</grid>
 <grnm>rock</grnm>
 <cpid>3434353</cpid>
 <cpnm>3434353</cpnm>
 <mBpm>123</mBpm>
 <brt>256 kbs</brt>
 <frq>44100 hz</frq>
 <yr>1998</yr>
 <tarid>65565665</tarid>
 <tarnm>Florence and the Machine</tarnm>
 <cve>1</cve>
 <alarid>432546325432</alarid>
 <alarnm>The Best of Florence and the Machine</alarnm>
 <type>0</type>
 <srcid>432546325432</srcid>
 <av>1</av>
 <tnum>1</tnum>
 </tr>
 

back to index