media.Track
This structure represents useful information about a track.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
trid | no | 1 | database id | track id |
trnm | no | 1 | text | track name |
arnm | no | 1 | text | mArtist name |
arid | no | 1 | database id | mArtist id |
alnm | no | 1 | text | mAlbum name |
alid | no | 1 | database id | mAlbum id |
dura | no | 1 | integer | track length in seconds |
cv | no | 1 | url | url to access coverart. See Artwork URL api. |
grid | no | 1 | database id | Genre id |
grnm | no | 1 | text | Genre name |
cpid | no | 1 | database id | Composer id |
cpnm | no | 1 | text | Composer name |
mBpm | no | 1 | integer | beats per minute |
brt | no | 1 | text | Bitrate including unit of measure |
frq | no | 1 | text | Frequency including unit of measure |
yr | no | 1 | integer | track Year |
tarid | no | 1 | database id | track Artist id |
tarnm | no | 1 | text | track Artist |
cve | no | 1 | boolean | does track have artwork? |
alarid | no | 1 | database id | Album Artist id |
alarnm | no | 1 | text | Album Artist |
type | no | 1 | integer | Track Type |
available | no | 1 | boolean | Is 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>