How can I get mp3 id3 tag info remote mp3 file?

Started by sebae,

sebae


I can get id3 tag from icecast stream.
QuoteBASS_ChannelGetTags(stream, BASS_TAG_META) from icecast stream..


But, http mp3 file can't return id3 tag.

QuoteBASS_StreamCreateURL(PWideChar('http://www.abc.com/mp3'), 0, BASS_STREAM_BLOCK or BASS_STREAM_STATUS or BASS_STREAM_AUTOFREE or BASS_UNICODE, nil, nil);

How can I get meta or id3 tag from remote http mp3 file?


Ian @ un4seen

Shoutcast metadata (BASS_TAG_META) won't be available when streaming a file. ID3v1 (BASS_TAG_ID3) and/or ID3v2 (BASS_TAG_ID3V2) tags may be, but ID3v1 tags are always at the end of the file (and ID3v2 sometimes are too), so you would need to wait until the entire file has been downloaded before they become available. If you would like to download more quickly so that the tags are available sooner, then removing the BASS_STREAM_BLOCK flag should achieve that.