так вот ссылка в файле полностью заполнены теги
------------ Дoбавленo:
Ты выйди в чат хасма и если что то надо найти пиши )
------------ Дoбавленo:
Retrieves tags/headers from a channel.
#pas
char *BASS_ChannelGetTags(
DWORD handle,
DWORD tags
);
Parameters
handle The channel handle... a HMUSIC or HSTREAM.
tags The tags/headers wanted... one of the following.
BASS_TAG_ID3 ID3v1 tags. A pointer to a 128 byte block is returned. See http://www.id3.org/ID3v1 for details of the block's structure.
BASS_TAG_ID3V2 ID3v2 tags. A pointer to a variable length block is returned. ID3v2 tags are supported at both the start and end of the file. See http://www.id3.org/ for details of the block's structure.
BASS_TAG_LYRICS3 Lyrics3v2 tag. A single string is returned, containing the Lyrics3v2 information. See http://www.id3.org/Lyrics3v2 for details of its format.
BASS_TAG_OGG OGG comments. A pointer to a series of null-terminated UTF-8 strings is returned, the final string ending with a double null.
BASS_TAG_VENDOR OGG encoder. A single UTF-8 string is returned.
BASS_TAG_HTTP HTTP headers, only available when streaming from a HTTP server. A pointer to a series of null-terminated strings is returned, the final string ending with a double null.
BASS_TAG_ICY ICY (Shoutcast) tags. A pointer to a series of null-terminated strings is returned, the final string ending with a double null.
BASS_TAG_META Shoutcast metadata. A single string is returned, containing the current stream title and url (usually omitted). The format of the string is: StreamTitle='xxx';StreamUrl='xxx';
BASS_TAG_RIFF_INFO RIFF/WAVE "INFO" tags. A pointer to a series of null-terminated strings is returned, the final string ending with a double null. The tags are in the form of "XXXX=text", where "XXXX" is the chunk ID..
BASS_TAG_MUSIC_NAME MOD music title.
BASS_TAG_MUSIC_MESSAGE MOD message text.
BASS_TAG_MUSIC_INST
+ instrument number (0=first) MOD instrument name. Only available with formats that have instruments, eg. IT and XM (and MO3).
BASS_TAG_MUSIC_SAMPLE
+ sample number (0=first) MOD sample name.
other tags may be supported by add-ons, see the documentation.
Return value
If successful, the requested tags are returned, else NULL is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE handle is not valid.
BASS_ERROR_NOTAVAIL The requested tags are not available.
Remarks
ID3v1 tags are located at the end of the file, so when streaming a file with ID3v1 tags from the internet, the tags will not be available until the download is complete. A BASS_SYNC_DOWNLOAD sync can be set via BASS_ChannelSetSync, to be informed of when the download is complete. A BASS_SYNC_META sync can be used to be informed of new Shoutcast metadata, and a BASS_SYNC_OGG_CHANGE sync for when a new logical bitstream begins in a chained OGG stream, which generally brings new OGG tags.
Example
List an OGG stream's comments.
#pas
char *comments=BASS_ChannelGetTags(channel, BASS_TAG_OGG); // get a pointer to the 1st comment
if (comments)
while (*comments) {
printf("%s\n", comments); // display the comment
comments+=strlen(comments)+1; // move on to next comment
}
List a MOD music's samples.
#pas
char *text;
int n=0;
while (text=BASS_ChannelGetTags(channel, BASS_TAG_MUSIC_SAMPLE+n)) {
printf("sample %d = %s\n", n+1, text); // display the sample text
n++; // move on to next sample
}
------------ Дoбавленo:
По сути нам нужно это: BASS_TAG_META Shoutcast metadata. A single string is returned, containing the current stream title and url (usually omitted). The format of the string is: StreamTitle='xxx';StreamUrl='xxx';
------------ Дoбавленo:
в исходниках все это нашел но как реализовать то (((((
------------ Дoбавленo:
// BASS_StreamGetTags flags : what's returned
BASS_TAG_ID3 = 0; // ID3v1 tags : 128 byte block
BASS_TAG_ID3V2 = 1; // ID3v2 tags : variable length block
BASS_TAG_OGG = 2; // OGG comments : array of null-terminated strings
BASS_TAG_HTTP = 3; // HTTP headers : array of null-terminated strings
BASS_TAG_ICY = 4; // ICY headers : array of null-terminated strings
BASS_TAG_META = 5; // ICY metadata : null-terminated string
Вот еще нашел но это в самом хиасме всмысле в компоненте .
------------ Дoбавленo:
Вот чую что рядом но елки палки что куда сувать не пойму (