TAG_ID3 structure
ID3v1 tag structure.
typedef struct { char id[3]; char title[30]; char artist[30]; char album[30]; char year[4]; char comment[30]; BYTE genre; } TAG_ID3;
Members
id | ID3v1 tag identifier... "TAG". |
title | Song title. |
artist | Artist name. |
album | Album title. |
year | Year. |
comment | Comment. If the 30th character is non-null whilst the 29th character is null, then the 30th character is the track number and the comment is limited to the first 28 characters. |
genre | Genre number. The number can be translated to a genre, using the list at www.id3.org. |
Remarks
See www.id3.org/ID3v1 for further details.Example
Display the title from a channel's ID3v1 tag.TAG_ID3 *id3=(TAG_ID3*)BASS_ChannelGetTags(channel, BASS_TAG_ID3); // get the ID3 tags if (id3) printf("title = %.30s\n", id3->title); // display the title