23 May '13 - 02:17 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Icecast and metadata with BASS  (Read 1512 times)
Serphanim
Guest
« on: 3 Jun '02 - 21:39 »
Reply with quoteQuote

Hi,
I'm developping a tiny LAN mp3 player for windows.
I'm using gtk, but I guess this information is useless  Grin

The server runs icecast, the sources for icecast are several ices sessions on different mountpoints.
Everything works fine except when I try to retrieve the meta-data.
I use BASS_StreamGetTags() of course, and the results are different wether I use some flags or not.

The BASS_TAG_ICY flag returns a null pointer. So does the BASS_TAG_META flag. The BASS_TAG_HTTP works fine, but what I need is the name of the song, etc...
Everything works fine with winamp, xmms and these players display a "ICY 200 OK". That makes me think the stream comes with icy.Grin

I've tried the BASS_STREAM_META flag in the BASS_StreamCreateURL() function but it doesn't work either. In addition to that, the sound gets distorded with horrible glops...
Most of the code I use for BASS is strongly inspired from netradio.c and contest.c examples. What am I doing wrong ?

Any help welcome Cheesy

Fabrice

P.S.: For eveything else, BASS is great Kiss
Logged
Ian @ un4seen
Administrator
Posts: 15269


« Reply #1 on: 4 Jun '02 - 10:43 »
Reply with quoteQuote

This is a known problem (to me and another bloke anyway Grin), caused by Icecast giving the meta info where BASS 1.5 is not expecting it. It has been fixed in 1.6, which should be released fairly soon.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines