Retrieves the ID3v1 tags from a channel, if they are available.
This special helper method already evaluates the 128-byte ID3v3 data block.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- handle
- Type: SystemInt32
The channel handle...a HSTREAM.
Return Value
Type: Stringor an array of strings with exactly 7 elements:
string[0] = 'song title' (max. 30 chars)
string[1] = 'artist' (max. 30 chars)
string[2] = 'album' (max. 30 chars)
string[3] = 'year' (yyyy)
string[4] = 'comment' (max. 28 chars)
string[5] = 'genre-id'
string[6] = 'track' (0-255)
Remarks
In addition you might also use the BassTags class, which provides extended TAG reading support.
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not valid. |
BASS_ERROR_NOTAVAIL | The requested tags are not available. |
Examples
int stream = Bass.BASS_StreamCreateFile("test.mp3", 0, 0, BASSFlag.BASS_DEFAULT); string[] tags = Bass.BASS_ChannelGetTagsID3V1(stream); foreach (string tag in tags) Console.WriteLine(tag);
See Also